Commit dd2b44b1 authored by Jacob Rockowitz's avatar Jacob Rockowitz
Browse files

Issue #3295609 by taniachque, Berdir: [Drupal 9.2.x] Replace jquery.once with new once API

parent 038bbfaa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
   */
  Drupal.behaviors.webformExcludedElementsComposite = {
    attach: function (context) {
      $(once('webform-excluded-elements', '.form-type-webform-excluded-elements [data-composite] input:checkbox'))
      $(once('webform-excluded-elements', '.form-type-webform-excluded-elements [data-composite] input[type="checkbox"]'))
        .on('click', function () {
          var checked = this.checked;
          var compositeKey = this.value;