]> source.dussan.org Git - jquery.git/commitdiff
jquery event: adding some whitespaces to the last change.
authorAriel Flesler <aflesler@gmail.com>
Tue, 29 Apr 2008 21:37:41 +0000 (21:37 +0000)
committerAriel Flesler <aflesler@gmail.com>
Tue, 29 Apr 2008 21:37:41 +0000 (21:37 +0000)
src/event.js

index b72ce7c0710619e682fbe6aa745885980c08801a..4c710c10ca647ed845db556a9516bfb919cb1d3b 100644 (file)
@@ -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;
                });
        },