Fix for #6911 - prevent disabled elements in liveHandler
This commit is contained in:
parent
0838bdf52c
commit
3e6e3c5eb8
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