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,