mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix for #6911 - prevent disabled elements in liveHandler
This commit is contained in:
parent
0838bdf52c
commit
3e6e3c5eb8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user