diff options
-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 4c6a07bae..7629c38e7 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.addEventListener ) { + if ( div.attachEvent ) { for ( i in { submit: true, change: true, |