summaryrefslogtreecommitdiff
path: root/js/globals.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/globals.ts')
-rw-r--r--js/globals.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/globals.ts b/js/globals.ts
index 2c8a25be3..1d33f6523 100644
--- a/js/globals.ts
+++ b/js/globals.ts
@@ -63,8 +63,8 @@ console[consoleTypes.isConsoleInstance] = true;
window.atob = textEncoding.atob;
window.btoa = textEncoding.btoa;
window.fetch = fetchTypes.fetch;
-window.clearTimeout = timers.clearTimer;
-window.clearInterval = timers.clearTimer;
+window.clearTimeout = timers.clearTimeout;
+window.clearInterval = timers.clearInterval;
window.console = console;
window.setTimeout = timers.setTimeout;
window.setInterval = timers.setInterval;