mirror of
https://github.com/transmission/transmission
synced 2025-03-04 02:28:03 +00:00
parent
fa17414181
commit
e60b1516c6
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ export function debounce(callback, wait = 100) {
|
|||
if (!timeout) {
|
||||
timeout = setTimeout(() => {
|
||||
timeout = null;
|
||||
callback(arguments_);
|
||||
callback(...arguments_);
|
||||
}, wait);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue