Fix SVG-Edit Issue 483

Fix http://code.google.com/p/svg-edit/issues/detail?id=483
This commit is contained in:
Jacques Distler 2010-02-13 23:22:36 -06:00
parent afcdc932ff
commit 612fbf2920

View file

@ -5607,7 +5607,7 @@ function BatchCommand(text) {
// are removed
var deepdive = function(node) {
if (node.nodeType == 1) {
var children = node.children;
var children = node.childNodes;
var i = children.length;
while (i--) { deepdive(children.item(i)); }
try {
@ -5615,7 +5615,7 @@ function BatchCommand(text) {
} catch(e) { console.log(e); }
}
}
if(!isWebkit) {deepdive(svgcontent);}
deepdive(svgcontent);
var content = $(svgcontent);