aboutsummaryrefslogtreecommitdiffstats
path: root/src/event.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2011-12-08 20:42:47 -0500
committerDave Methvin <dave.methvin@gmail.com>2011-12-08 21:04:57 -0500
commit98386cfd775fdfa7837ccbec173b04f1e6d57896 (patch)
tree74783699ba88a0bf17bfb88e8b3e8141b7c868fe /src/event.js
parentd6500cc8ded8d3d02e19a3ab831b6b9cf43e82ae (diff)
downloadjquery-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.js6
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 ) {