Skip to content

Commit

Permalink
Merge pull request #7 from pablogd/multielement-fix
Browse files Browse the repository at this point in the history
Fix bug when using pugin with multiple elements
  • Loading branch information
robcowie committed Sep 7, 2012
2 parents 91cfe9b + 78813d1 commit f1bdae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.stopwatch.js
Expand Up @@ -47,7 +47,6 @@
};

// if (options) { $.extend(settings, options); }
var settings = $.extend({}, defaults, options);

return this.each(function() {
var $this = $(this),
Expand All @@ -56,6 +55,7 @@
// If the plugin hasn't been initialized yet
if (!data) {
// Setup the stopwatch data
var settings = $.extend({}, defaults, options);
data = settings;
data.active = false;
data.target = $this;
Expand Down

1 comment on commit f1bdae9

@denimarkino
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi robcowie how to get time during timer running.. what the function exactly does 'gettime' function , please guide me..

Please sign in to comment.