From e55567b89261c2ff7f81539b57a51d9341c71862 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 8 Jun 2009 15:05:12 +0000 Subject: [PATCH] don't use setAttributeNS when setAttribute is enough git-svn-id: http://svg-edit.googlecode.com/svn/trunk@72 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);