Changeset 5351
- Timestamp:
- 04/29/08 21:37:41 (8 months ago)
- Files:
-
- 1 modified
-
trunk/jquery/src/event.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/event.js
r5350 r5351 444 444 return this.click(function(event) { 445 445 // Figure out which function to execute 446 this.lastToggle = ( this.lastToggle||0) % args.length;446 this.lastToggle = ( this.lastToggle || 0 ) % args.length; 447 447 448 448 // Make sure that clicks stop … … 450 450 451 451 // and execute the function 452 return args[ this.lastToggle++].apply( this, arguments ) || false;452 return args[ this.lastToggle++ ].apply( this, arguments ) || false; 453 453 }); 454 454 },
