From 800c3f009068492d506dce0af6ca14c928a485f8 Mon Sep 17 00:00:00 2001 From: Vidar Hokstad Date: Sat, 6 Jun 2009 17:09:26 +0000 Subject: [PATCH] Removed redundant getElementById git-svn-id: http://svg-edit.googlecode.com/svn/trunk@41 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 1 - 1 file changed, 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 50dbf41b..252fef1c 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -297,7 +297,6 @@ function SvgCanvas(doc) // break; missing on purpose case "path": d_attr += "L" + x + " " + y + " "; - var shape = svgdoc.getElementById(getId()); shape.setAttributeNS(null, "d", d_attr); break; }