diff options
Diffstat (limited to 'src/js/plugins/ads.js')
-rw-r--r-- | src/js/plugins/ads.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/plugins/ads.js b/src/js/plugins/ads.js index cbbf3a47..31a797c2 100644 --- a/src/js/plugins/ads.js +++ b/src/js/plugins/ads.js @@ -171,7 +171,7 @@ class Ads { */ pollCountdown(start = false) { if (!start) { - window.clearInterval(this.countdownTimer); + clearInterval(this.countdownTimer); this.elements.container.removeAttribute('data-badge-text'); return; } @@ -182,7 +182,7 @@ class Ads { this.elements.container.setAttribute('data-badge-text', label); }; - this.countdownTimer = window.setInterval(update, 100); + this.countdownTimer = setInterval(update, 100); } /** |