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

This commit is contained in:
Merrifield, Jay
2012-10-15 15:16:11 -04:00
committed by Mike Sherov
parent fad0e22181
commit 063ea024e9

View 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.attachEvent ) {
if ( !div.addEventListener ) {
for ( i in {
submit: true,
change: true,