Chris@0: /** Chris@0: * DO NOT EDIT THIS FILE. Chris@0: * See the following change record for more information, Chris@0: * https://www.drupal.org/node/2815083 Chris@0: * @preserve Chris@0: **/ Chris@0: Chris@0: (function ($, Drupal) { Chris@0: Drupal.behaviors.commentFieldsetSummaries = { Chris@0: attach: function attach(context) { Chris@0: var $context = $(context); Chris@0: $context.find('fieldset.comment-entity-settings-form').drupalSetSummary(function (context) { Chris@0: return Drupal.checkPlain($(context).find('.js-form-item-comment input:checked').next('label').text()); Chris@0: }); Chris@0: } Chris@0: }; Chris@0: })(jQuery, Drupal);