15196ca8331a98fee0202cced11a1430d7121fac
[yaffs-website] / web / core / modules / comment / comment-entity-form.js
1 /**
2 * DO NOT EDIT THIS FILE.
3 * See the following change record for more information,
4 * https://www.drupal.org/node/2815083
5 * @preserve
6 **/
7
8 (function ($, Drupal) {
9   Drupal.behaviors.commentFieldsetSummaries = {
10     attach: function attach(context) {
11       var $context = $(context);
12       $context.find('fieldset.comment-entity-settings-form').drupalSetSummary(function (context) {
13         return Drupal.checkPlain($(context).find('.js-form-item-comment input:checked').next('label').text());
14       });
15     }
16   };
17 })(jQuery, Drupal);