]> source.dussan.org Git - jquery.git/commitdiff
Revert "Fixes #12569. Improve Feature Detect For oldIE bubbling. closes gh-967"
authorDave Methvin <dave.methvin@gmail.com>
Thu, 15 Nov 2012 02:09:12 +0000 (21:09 -0500)
committerDave Methvin <dave.methvin@gmail.com>
Thu, 15 Nov 2012 02:09:12 +0000 (21:09 -0500)
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

index 4c6a07bae6b94a7cb0a95d96f42ca95d658d4b62..7629c38e7fd4654e2d6d4a44ff5b7ad439628a89 100644 (file)
@@ -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,