Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes #8052...
[jquery.git] / src / support.js
index 4807ce2..8b60abd 100644 (file)
                jQuery.support.deleteExpando = false;
        }
 
-       if ( div.attachEvent && div.fireEvent ) {
+       if ( !div.addEventListener && div.attachEvent && div.fireEvent ) {
                div.attachEvent("onclick", function click() {
                        // Cloning a node shouldn't copy over any
                        // bound event handlers (IE does this)