Skip to content
Snippets Groups Projects
Commit 4a89c153 authored by Tamás Brückner's avatar Tamás Brückner Committed by Rajab Natshah
Browse files

Issue #3356235 by brtamas: JS aggregation breaks working

parent e4f6a816
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
* Behaviors for the Entity Browser Multiselect.
*/
(function ($, _, Drupal, drupalSettings) {
(function ($, Drupal, drupalSettings) {
'use strict';
Drupal.behaviors.entityBrowserMultiselect = {
......@@ -87,7 +87,7 @@
// Entity Browser Multiselect keyboard behaviors.
Drupal.behaviors.EntityBrowserMultiselectChangeOnKeyUp = {
onKeyUp: _.debounce(function () {
onKeyUp: Drupal.debounce(function () {
$(this).trigger('change');
}, 600),
......@@ -100,4 +100,4 @@
}
};
})(window.jQuery, window._, window.Drupal, window.drupalSettings);
})(window.jQuery, window.Drupal, window.drupalSettings);
......@@ -10,6 +10,8 @@ entity_browser_enhanced.multiselect:
- core/jquery.once
- core/drupalSettings
- core/underscore
- core/drupal.debounce
entity_browser_enhanced.autoselect:
css:
component:
......
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