diff options
author | Merrifield, Jay <jmerrifiel@gannett.com> | 2012-10-15 15:16:11 -0400 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2012-10-17 15:02:31 -0400 |
commit | 063ea024e945adbeefbf88578f8ba424ca8a0939 (patch) | |
tree | 693235f191b99eea0463d2e00eb6ff2054753db4 /src/support.js | |
parent | fad0e221818f0a78550584b3c0a16a6808ecd921 (diff) | |
download | jquery-063ea024e945adbeefbf88578f8ba424ca8a0939.tar.gz jquery-063ea024e945adbeefbf88578f8ba424ca8a0939.zip |
Fixes #12569. Improve Feature Detect For oldIE bubbling. closes gh-967
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js index 7629c38e7..4c6a07bae 100644 --- a/src/support.js +++ b/src/support.js @@ -153,7 +153,7 @@ jQuery.support = (function() { // are used, namely in IE. Short-circuiting here helps us to // avoid an eval call (in setAttribute) which can cause CSP // to go haywire. See: https://developer.mozilla.org/en/Security/CSP - if ( div.attachEvent ) { + if ( !div.addEventListener ) { for ( i in { submit: true, change: true, |