diff options
author | Alex Pott <alex.a.pott@googlemail.com> | 2024-09-13 18:59:47 +0100 |
---|---|---|
committer | Alex Pott <alex.a.pott@googlemail.com> | 2024-09-13 18:59:47 +0100 |
commit | e9a2e9abfd3455cc54beb0054b4d7e21929e60c7 (patch) | |
tree | 7172167c7235928e6924fd1a4bea22d3dd884f18 /core/modules/comment/comment-entity-form.js | |
parent | f296e346716d4a133362c5e4b581c91565967028 (diff) | |
download | drupal-e9a2e9abfd3455cc54beb0054b4d7e21929e60c7.tar.gz drupal-e9a2e9abfd3455cc54beb0054b4d7e21929e60c7.zip |
Issue #2484623 by quietone, anavarre, nod_, Manuel Garcia, rteijeiro, kostyashupenko, ankithashetty, smustgrave, jeroent, xjm, droplet, cilefen, travis-bradbury, catch: Move all JS in modules to a js/ folder
Diffstat (limited to 'core/modules/comment/comment-entity-form.js')
-rw-r--r-- | core/modules/comment/comment-entity-form.js | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/core/modules/comment/comment-entity-form.js b/core/modules/comment/comment-entity-form.js deleted file mode 100644 index af54d92a9c9..00000000000 --- a/core/modules/comment/comment-entity-form.js +++ /dev/null @@ -1,25 +0,0 @@ -/** - * @file - * Attaches comment behaviors to the entity form. - */ - -(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')[0].textContent, - ), - ); - }, - }; -})(jQuery, Drupal); |