Fixed #1701 by passing through the arguments as suggested.

This commit is contained in:
David Serduke 2007-11-28 22:23:40 +00:00
parent 5c6c99361f
commit 3ae5fbc16a
2 changed files with 7 additions and 3 deletions

View file

@ -333,7 +333,7 @@ jQuery.fn.extend({
event.preventDefault();
// and execute the function
return args[this.lastToggle].apply( this, [event] ) || false;
return args[this.lastToggle].apply( this, arguments ) || false;
});
},