diff options
author | Sam Potts <sam@potts.es> | 2018-03-13 23:35:17 +1100 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-03-13 23:35:17 +1100 |
commit | c74b75e8e189b187b1323f0a5e0b2ec106fcfd34 (patch) | |
tree | 8653860cbe4a4feca6e8a30bc04eeffa2ea22080 /src/js/plugins/ads.js | |
parent | 0538476d6fd058e46bb0028856cb30e01b0dafb4 (diff) | |
download | plyr-c74b75e8e189b187b1323f0a5e0b2ec106fcfd34.tar.lz plyr-c74b75e8e189b187b1323f0a5e0b2ec106fcfd34.tar.xz plyr-c74b75e8e189b187b1323f0a5e0b2ec106fcfd34.zip |
3.0.0-beta.20
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); } /** |