Bug in jQuery.fn.toggle?
Bug in jQuery.fn.toggle?
See... I bound two functions using $().toggle, then when I use
trigger('click',[foo]) on the element, it doesn't pass the extra
arguments. If I'm not mistaken, the error is in line 1900 of jQuery
1.2.1 uncompressed..
Instead of:
return a[this.lastToggle].apply( this, [e] ) || false;
It should be
return a[this.lastToggle].apply( this, arguments ) || false;
I tracked the extra arguments and they got safely till there. I hope
that helps.