diff options
Diffstat (limited to 'src/helpers.js')
-rw-r--r-- | src/helpers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers.js b/src/helpers.js index e3ad6f0..90c4995 100644 --- a/src/helpers.js +++ b/src/helpers.js @@ -136,7 +136,7 @@ function arrayToString(a) { function assignNewId(node) { // do the same for SVG child nodes as well for (var i = node.childNodes.length - 1; i >= 0; i--) - if (node.childNodes[i] instanceof SVGElement) + if (node.childNodes[i] instanceof window.SVGElement) assignNewId(node.childNodes[i]) return SVG.adopt(node).id(SVG.eid(node.nodeName)) |