diff options
Diffstat (limited to 'assets/js/lustiges-script.js')
-rw-r--r-- | assets/js/lustiges-script.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js index aa817d2..3b3ab6d 100644 --- a/assets/js/lustiges-script.js +++ b/assets/js/lustiges-script.js @@ -554,23 +554,3 @@ $(function() { $(this).select(); }); }); - -// closed-countdown -$(function() { - var - $el = $('.countdown'), - dt = moment($el.data('dt')); - - $el.attr('title', 'on '+dt.format('dddd, MMM Do YYYY')) - function update() { - setTimeout(update, 5000); - - var now = moment(); - - if(dt.dayOfYear() == now.dayOfYear() && dt.year() == now.year()) - $el.text('today'); - else - $el.text( dt.from(now) ); - } - update(); -}); |