mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 09:47:59 -05:00
Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes #8052. 1.5-stable
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user