diff -u b/core/modules/comment/comment-entity-form.js b/core/modules/comment/comment-entity-form.js --- b/core/modules/comment/comment-entity-form.js +++ b/core/modules/comment/comment-entity-form.js @@ -14,13 +14,14 @@ Drupal.behaviors.commentFieldsetSummaries = { attach: function (context) { var $context = $(context); - $context.find('.js-comment-settings-form').drupalSetSummary(function (context) { - var widgetSelector = $(context).data('comment-widget-selector'); - return $context - .find('[data-drupal-selector="' + widgetSelector + '"]') - .find('input:checked') - .next('label') - .text(); }); + $context.find('.js-comment-settings-form').drupalSetSummary(function (context) { + var widgetSelector = $(context).data('comment-widget-selector'); + return $context + .find('[data-drupal-selector="' + widgetSelector + '"]') + .find('input:checked') + .next('label') + .text(); + }); } };