From 05fb5de3ee1ea0610e95d2081aaab8702be651de Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Wed, 14 Nov 2012 21:09:12 -0500 Subject: [PATCH] Revert "Fixes #12569. Improve Feature Detect For oldIE bubbling. closes gh-967" This reverts commit 063ea024e945adbeefbf88578f8ba424ca8a0939. I've beaten on this for a while and can't find a suitable feature detect that catches Chrome's support for focusin. --- src/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5