git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed a couple problems found in the test suite. First, IE doesn't like it when...
[jquery.git]
/
src
/
core.js
diff --git
a/src/core.js
b/src/core.js
index
c2f94d2
..
10db3ed
100644
(file)
--- a/
src/core.js
+++ b/
src/core.js
@@
-323,6
+323,8
@@
jQuery.fn = jQuery.prototype = {
// Copy the events from the original to the clone
if ( events === true )
this.find("*").andSelf().each(function(i){
// Copy the events from the original to the clone
if ( events === true )
this.find("*").andSelf().each(function(i){
+ if (this.nodeType == 3)
+ return;
var events = jQuery.data( this, "events" );
for ( var type in events )
var events = jQuery.data( this, "events" );
for ( var type in events )