Merge branch 'jquery145' of https://github.com/danheberden/jquery into danheberden-jquery145
This commit is contained in:
commit
21d08eb008
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue