Fix the case where live change was breaking if a live click was bound ahead of time. Very similar to #6359. Fixes #6505.

This commit is contained in:
jeresig 2010-10-09 18:16:08 -04:00
parent 10065a8deb
commit 79305ed146

View file

@ -778,6 +778,7 @@ if ( !jQuery.support.changeBubbles ) {
if ( data != null || val ) { if ( data != null || val ) {
e.type = "change"; e.type = "change";
e.liveFired = undefined;
return jQuery.event.trigger( e, arguments[1], elem ); return jQuery.event.trigger( e, arguments[1], elem );
} }
}; };