diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index d2ee2d41..6c39aec4 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -11,7 +11,7 @@ function SvgCanvas(c) var svgroot = svgdoc.createElementNS(svgns, "svg"); svgroot.setAttribute("width", 640); svgroot.setAttribute("height", 480); - svgroot.setAttributeNS(null, "id", "svgroot"); + svgroot.setAttribute("id", "svgroot"); svgroot.setAttribute("xmlns", svgns); container.appendChild(svgroot);