Skip to content
Permalink
Browse files
Fix for Safari crashes when doing DOM Manipulations
  • Loading branch information
brandonaaron committed Feb 28, 2007
1 parent 2cefce0 commit 5adf740a1522c18504b66a7d67ab23b00aad34db
Showing with 3 additions and 1 deletion.
  1. +3 −1 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") )

0 comments on commit 5adf740

Please sign in to comment.