Remove unused code
This commit is contained in:
parent
f4a4561d64
commit
a15fcf1aba
|
@ -1,8 +1,7 @@
|
|||
(function(){
|
||||
|
||||
document.querySelectorAll('[data-countdown-to]').forEach(function(el) {
|
||||
var parent = el.parentNode
|
||||
, expires = +el.dataset.countdownTo
|
||||
var expires = +el.dataset.countdownTo
|
||||
|
||||
function update() {
|
||||
var left = expires - (+new Date()/1000|0)
|
||||
|
|
Loading…
Reference in New Issue