From 063ea024e945adbeefbf88578f8ba424ca8a0939 Mon Sep 17 00:00:00 2001 From: "Merrifield, Jay" Date: Mon, 15 Oct 2012 15:16:11 -0400 Subject: [PATCH] Fixes #12569. Improve Feature Detect For oldIE bubbling. closes gh-967 --- src/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5