ES5 compatibility
This commit is contained in:
parent
2934fca180
commit
f4a4561d64
|
@ -1,6 +1,6 @@
|
|||
(function(){
|
||||
|
||||
document.querySelectorAll('[data-countdown-to]').forEach(el => {
|
||||
document.querySelectorAll('[data-countdown-to]').forEach(function(el) {
|
||||
var parent = el.parentNode
|
||||
, expires = +el.dataset.countdownTo
|
||||
|
||||
|
|
Loading…
Reference in New Issue