Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / comment / comment-entity-form.es6.js
index 00a3404ab39ccb3a52d71bf49ed9529d74ba7323..4f25c9b7610bbc0cd08b9eb96a63c225841212bf 100644 (file)
@@ -3,7 +3,7 @@
  * Attaches comment behaviors to the entity form.
  */
 
-(function ($, Drupal) {
+(function($, Drupal) {
   /**
    *
    * @type {Drupal~behavior}
   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);