summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/timers.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/timers.ts b/js/timers.ts
index ff8df9a6b..5bc4922e3 100644
--- a/js/timers.ts
+++ b/js/timers.ts
@@ -138,8 +138,8 @@ function fire(timer: Timer): void {
function fireTimers(): void {
const now = getTime();
- // Bail out if we're not expecting the global timer to fire (yet).
- if (globalTimeoutDue === null || now < globalTimeoutDue) {
+ // Bail out if we're not expecting the global timer to fire.
+ if (globalTimeoutDue === null) {
return;
}
// After firing the timers that are due now, this will hold the due time of