Skip to content

Commit

Permalink
removed repeatedElements array
Browse files Browse the repository at this point in the history
  • Loading branch information
sashazykov committed Nov 16, 2010
1 parent 63e1fb5 commit 9d3ba71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions jquery.repeatedclick.js
Expand Up @@ -22,12 +22,7 @@ jQuery.fn.repeatedclick = function(f, options) {
jQuery.repeatedEvents = [];
}

if (typeof jQuery.repeatedElements === 'undefined') {
jQuery.repeatedElements = [];
}

jQuery.repeatedEvents.push(f);
jQuery.repeatedElements.push(this);

var eventNum = jQuery.repeatedEvents.length - 1;

Expand Down
2 changes: 1 addition & 1 deletion jquery.repeatedclick.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9d3ba71

Please sign in to comment.