diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2013-03-14 00:23:36 +0100 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-04-04 12:27:21 -0400 |
commit | ba16ba2efcb0a7703d1332044de87bf12700a66e (patch) | |
tree | 777a0bafa09779ca073b0e4fc55db701ccce4d63 /src/event.js | |
parent | 6da5eb10337c29c61ebc09fb8e3975509f58f419 (diff) | |
download | jquery-ba16ba2efcb0a7703d1332044de87bf12700a66e.tar.gz jquery-ba16ba2efcb0a7703d1332044de87bf12700a66e.zip |
Update grunt-contrib-jshint to 0.3.0, part 2, close gh-1203.
Diffstat (limited to 'src/event.js')
-rw-r--r-- | src/event.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/event.js b/src/event.js index 33c8194c3..a9620e241 100644 --- a/src/event.js +++ b/src/event.js @@ -402,9 +402,7 @@ jQuery.event = { // Avoid non-left-click bubbling in Firefox (#3861) if ( delegateCount && cur.nodeType && (!event.button || event.type !== "click") ) { - /* jshint eqeqeq: false */ - for ( ; cur != this; cur = cur.parentNode || this ) { - /* jshint eqeqeq: true */ + for ( ; cur !== this; cur = cur.parentNode || this ) { // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) if ( cur.disabled !== true || event.type !== "click" ) { |