aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plugins/ads.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-03-13 23:35:17 +1100
committerSam Potts <sam@potts.es>2018-03-13 23:35:17 +1100
commitc74b75e8e189b187b1323f0a5e0b2ec106fcfd34 (patch)
tree8653860cbe4a4feca6e8a30bc04eeffa2ea22080 /src/js/plugins/ads.js
parent0538476d6fd058e46bb0028856cb30e01b0dafb4 (diff)
downloadplyr-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.js4
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);
}
/**