git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8805f13
)
Update jQuery.support.noCloneEvent test to function properly in IE9. Fixes #8052...
author
Colin Snover
<github.com@zetafleet.com>
Mon, 7 Feb 2011 16:56:48 +0000
(10:56 -0600)
committer
Colin Snover
<github.com@zetafleet.com>
Mon, 7 Feb 2011 16:56:48 +0000
(10:56 -0600)
src/support.js
patch
|
blob
|
history
diff --git
a/src/support.js
b/src/support.js
index
4807ce2
..
8b60abd
100644
(file)
--- a/
src/support.js
+++ b/
src/support.js
@@
-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)