projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
misc
/
debounce.es6.js
diff --git
a/web/core/misc/debounce.es6.js
b/web/core/misc/debounce.es6.js
index 56ba0db681608ce0ece8be4211932fd25a6d5c82..e77940b9efa3883f82032f007e8b55a88ba2ee29 100644
(file)
--- a/
web/core/misc/debounce.es6.js
+++ b/
web/core/misc/debounce.es6.js
@@
-29,9
+29,8
@@
Drupal.debounce = function (func, wait, immediate) {
let timeout;
let result;
- return function () {
+ return function (
...args
) {
const context = this;
- const args = arguments;
const later = function () {
timeout = null;
if (!immediate) {