Skip to content
Snippets Groups Projects
Commit 904106f9 authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3348151: Fix name of the Drupal.behaviors.sectionLibrary behaviour and...

Issue #3348151: Fix name of the Drupal.behaviors.sectionLibrary behaviour and remove not used namespaces
parent 4136e8de
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,12 @@
* Behaviors Section Library general scripts.
*/
(function ($, _, Drupal, drupalSettings, once) {
(function ($, Drupal, once) {
"use strict";
var layoutBuilderSectionLibraryFiltered = false;
Drupal.behaviors.sctionLibrary = {
Drupal.behaviors.sectionLibrary = {
attach: function (context) {
var $filterLinks = $('.js-layout-builder-section-library-link');
......@@ -34,4 +34,4 @@
$(once('js-layout-builder-section-library-filter', 'input.js-layout-builder-section-library-filter', context)).on('keyup', Drupal.debounce(filterSectionLibraryList, 200));
}
};
})(window.jQuery, window._, window.Drupal, window.drupalSettings, window.once);
})(jQuery, Drupal, once);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment