updated core to 8.6.1 via composer
This commit is contained in:
@@ -26,12 +26,12 @@
|
||||
* @return {function}
|
||||
* The debounced function.
|
||||
*/
|
||||
Drupal.debounce = function (func, wait, immediate) {
|
||||
Drupal.debounce = function(func, wait, immediate) {
|
||||
let timeout;
|
||||
let result;
|
||||
return function (...args) {
|
||||
return function(...args) {
|
||||
const context = this;
|
||||
const later = function () {
|
||||
const later = function() {
|
||||
timeout = null;
|
||||
if (!immediate) {
|
||||
result = func.apply(context, args);
|
||||
|
||||
Reference in New Issue
Block a user