Merge branch 'jquery145' of https://github.com/danheberden/jquery into danheberden-jquery145

This commit is contained in:
John Resig 2010-12-06 16:38:51 -05:00
commit 21d08eb008

View file

@ -1075,8 +1075,8 @@ function liveHandler( event ) {
events = events.events;
}
// Make sure we avoid non-left-click bubbling in Firefox (#3861)
if ( event.liveFired === this || !events || !events.live || event.button && event.type === "click" ) {
// Make sure we avoid non-left-click bubbling in Firefox (#3861) and disabled elements in IE (#6911)
if ( event.liveFired === this || !events || !events.live || event.target.disabled || event.button && event.type === "click" ) {
return;
}