Skip to content

Commit

Permalink
jquery event: adding some whitespaces to the last change.
Browse files Browse the repository at this point in the history
  • Loading branch information
flesler committed Apr 29, 2008
1 parent c3cbc5b commit 08836ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/event.js
Expand Up @@ -443,13 +443,13 @@ jQuery.fn.extend({

return this.click(function(event) {
// Figure out which function to execute
this.lastToggle = (this.lastToggle||0) % args.length;
this.lastToggle = ( this.lastToggle || 0 ) % args.length;

// Make sure that clicks stop
event.preventDefault();

// and execute the function
return args[this.lastToggle++].apply( this, arguments ) || false;
return args[ this.lastToggle++ ].apply( this, arguments ) || false;
});
},

Expand Down

0 comments on commit 08836ac

Please sign in to comment.