1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-04 02:28:03 +00:00

fix: incorrect debounce arguments (#4839)

Fixes #4830.
This commit is contained in:
Charles Kerr 2023-02-11 15:37:43 -06:00 committed by GitHub
parent fa17414181
commit e60b1516c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -240,7 +240,7 @@ export function debounce(callback, wait = 100) {
if (!timeout) {
timeout = setTimeout(() => {
timeout = null;
callback(arguments_);
callback(...arguments_);
}, wait);
}
};