aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2012-11-14 21:09:12 -0500
committerDave Methvin <dave.methvin@gmail.com>2012-11-14 21:09:12 -0500
commit05fb5de3ee1ea0610e95d2081aaab8702be651de (patch)
treeef98fca71aac013588c8137b9075408eedaa3a17 /src/support.js
parent02c726f71caf00a74968896b241ad206b1e1fc41 (diff)
downloadjquery-05fb5de3ee1ea0610e95d2081aaab8702be651de.tar.gz
jquery-05fb5de3ee1ea0610e95d2081aaab8702be651de.zip
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.
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js2
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,