Skip to content
Browse files

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

  • Loading branch information...
1 parent fad0e22 commit 063ea024e945adbeefbf88578f8ba424ca8a0939 @fracmak fracmak committed with mikesherov
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,

1 comment on commit 063ea02

@scottgonzalez
jQuery Foundation member

This broke jQuery UI

http://swarm.jquery.org/job/1314

Please sign in to comment.
Something went wrong with that request. Please try again.