Skip to content
Permalink
Browse files

Merge branch 'jquery_dev' of http://github.com/danheberden/jquery int…

…o danheberden-jquery_dev
  • Loading branch information
jeresig committed Oct 26, 2010
2 parents de58db0 + bd47479 commit a68a85ad09dc79cb2a7ea8b6abd1f880f218277c
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/event.js
@@ -1068,6 +1068,11 @@ function liveHandler( event ) {
if ( event.liveFired === this || !events || !events.live || event.button && event.type === "click" ) {
return;
}

// IE will still dispatch events on disabled elements, so halt it (#6911)
if( event.target.disabled ) {
return;
}

if ( event.namespace ) {
namespace = new RegExp("(^|\\.)" + event.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)");

0 comments on commit a68a85a

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