diff core/modules/comment/comment-entity-form.es6.js @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/core/modules/comment/comment-entity-form.es6.js	Tue Jul 10 15:07:59 2018 +0100
+++ b/core/modules/comment/comment-entity-form.es6.js	Thu Feb 28 13:21:36 2019 +0000
@@ -3,7 +3,7 @@
  * Attaches comment behaviors to the entity form.
  */
 
-(function ($, Drupal) {
+(function($, Drupal) {
   /**
    *
    * @type {Drupal~behavior}
@@ -11,7 +11,16 @@
   Drupal.behaviors.commentFieldsetSummaries = {
     attach(context) {
       const $context = $(context);
-      $context.find('fieldset.comment-entity-settings-form').drupalSetSummary(context => Drupal.checkPlain($(context).find('.js-form-item-comment input:checked').next('label').text()));
+      $context
+        .find('fieldset.comment-entity-settings-form')
+        .drupalSetSummary(context =>
+          Drupal.checkPlain(
+            $(context)
+              .find('.js-form-item-comment input:checked')
+              .next('label')
+              .text(),
+          ),
+        );
     },
   };
-}(jQuery, Drupal));
+})(jQuery, Drupal);