Skip to content

Commit

Permalink
Merge branch 'jquery145' of https://github.com/danheberden/jquery int…
Browse files Browse the repository at this point in the history
…o danheberden-jquery145
  • Loading branch information
jeresig committed Dec 6, 2010
2 parents e1d6edf + 3e6e3c5 commit 21d08eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/event.js
Expand Up @@ -1075,8 +1075,8 @@ function liveHandler( event ) {
events = events.events; events = events.events;
} }


// Make sure we avoid non-left-click bubbling in Firefox (#3861) // 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.button && event.type === "click" ) { if ( event.liveFired === this || !events || !events.live || event.target.disabled || event.button && event.type === "click" ) {
return; return;
} }


Expand Down

0 comments on commit 21d08eb

Please sign in to comment.