Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikos M committed Dec 24, 2015
1 parent 970b351 commit 009f7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 009f7f8

Please sign in to comment.