aboutsummaryrefslogtreecommitdiff
path: root/src/util.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.ts')
-rw-r--r--src/util.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.ts b/src/util.ts
index 96741b2..587ad66 100644
--- a/src/util.ts
+++ b/src/util.ts
@@ -54,7 +54,7 @@ export function makeThrottledSpaced(hdlr: (...args: any[]) => void, delay: numbe
hdlr(...args);
lastHdlrTime = new Date().getTime();
} else {
- endHdlr = window.setTimeout(async () => {
+ endHdlr = window.setTimeout(() => {
endHdlr = 0;
hdlr(...args);
lastHdlrTime = new Date().getTime();