From 009f7f86acdea0e1dc01c5bb8822478e750c2bc3 Mon Sep 17 00:00:00 2001 From: Nikos M Date: Thu, 24 Dec 2015 18:13:39 +0200 Subject: [PATCH] updates --- timer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timer.js b/timer.js index 93a6a71..26288b2 100644 --- a/timer.js +++ b/timer.js @@ -162,7 +162,7 @@ $.Timer = function( el, options ) { options = options || {}; var format = $el.attr('data-timer-format') || options.format || '%dd%:%hh%:%mm%:%ss%'; var type = $el.attr('data-timer-type') || options.type || 'down'; - var duration = parseInt($el.attr('data-timer-duration'),10) || options.duration || 10; + var duration = parseInt($el.attr('data-timer-duration'),10) || options.duration || 0; var granularity = parseInt($el.attr('data-timer-granularity'),10) || options.granularity || 1; fmt = format;