Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes #8052. 1.5-stable
This commit is contained in:
parent
8805f1373d
commit
534dbd660e
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue