Commit 534dbd66 authored by Colin Snover's avatar Colin Snover

Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes #8052. 1.5-stable

parent 8805f137
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
jQuery.support.deleteExpando = false; jQuery.support.deleteExpando = false;
} }
if ( div.attachEvent && div.fireEvent ) { if ( !div.addEventListener && div.attachEvent && div.fireEvent ) {
div.attachEvent("onclick", function click() { div.attachEvent("onclick", function click() {
// Cloning a node shouldn't copy over any // Cloning a node shouldn't copy over any
// bound event handlers (IE does this) // bound event handlers (IE does this)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment