Merge branch 'bzr/golem' of /Users/distler/Sites/code/instiki

This commit is contained in:
Jacques Distler 2010-02-13 23:25:13 -06:00
commit 8b5973b6c6

View file

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