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:
2cefce0
)
Fix for Safari crashes when doing DOM Manipulations
author
Brandon Aaron
<brandon.aaron@gmail.com>
Wed, 28 Feb 2007 14:27:06 +0000
(14:27 +0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Wed, 28 Feb 2007 14:27:06 +0000
(14:27 +0000)
src/jquery/jquery.js
patch
|
blob
|
history
diff --git
a/src/jquery/jquery.js
b/src/jquery/jquery.js
index
41b8201
..
5780ba7
100644
(file)
--- a/
src/jquery/jquery.js
+++ b/
src/jquery/jquery.js
@@
-1495,7
+1495,9
@@
jQuery.extend({
}
- arg = div.childNodes;
+ arg = [];
+ for (var i=0, l=div.childNodes.length; i<l; i++)
+ arg.push(div.childNodes[i]);
}
if ( arg.length === 0 && !jQuery.nodeName(arg, "form") )