Skip to content
Permalink
Browse files

Fix for #6911 - prevent disabled elements in liveHandler

  • Loading branch information...
danheberden committed Nov 22, 2010
1 parent 0838bdf commit 3e6e3c5eb82c1dcb6fe2d2555db63b5861d219ab
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/event.js
@@ -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;
}

0 comments on commit 3e6e3c5

Please sign in to comment.
You can’t perform that action at this time.