Permalink
Browse files

Fixes #12569. Improve Feature Detect For oldIE bubbling. closes gh-967

  • Loading branch information...
1 parent fad0e22 commit 063ea024e945adbeefbf88578f8ba424ca8a0939 Merrifield, Jay committed with mikesherov Oct 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/support.js
View
2 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,

0 comments on commit 063ea02

Please sign in to comment.