diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2011-12-08 20:42:47 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2011-12-08 21:04:57 -0500 |
commit | 98386cfd775fdfa7837ccbec173b04f1e6d57896 (patch) | |
tree | 74783699ba88a0bf17bfb88e8b3e8141b7c868fe /src/event.js | |
parent | d6500cc8ded8d3d02e19a3ab831b6b9cf43e82ae (diff) | |
download | jquery-98386cfd775fdfa7837ccbec173b04f1e6d57896.tar.gz jquery-98386cfd775fdfa7837ccbec173b04f1e6d57896.zip |
Fix #10692. JSLint is dead! Long live JSHint!
Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
Diffstat (limited to 'src/event.js')
-rw-r--r-- | src/event.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event.js b/src/event.js index 483d9062c..f33e8fa32 100644 --- a/src/event.js +++ b/src/event.js @@ -185,9 +185,9 @@ jQuery.event = { handleObj = eventType[ j ]; if ( ( mappedTypes || origType === handleObj.origType ) && - ( !handler || handler.guid === handleObj.guid ) && - ( !namespaces || namespaces.test( handleObj.namespace ) ) && - ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { + ( !handler || handler.guid === handleObj.guid ) && + ( !namespaces || namespaces.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || selector === "**" && handleObj.selector ) ) { eventType.splice( j--, 1 ); if ( handleObj.selector ) { |