From b81e5f36d41ed4a081def71fa977ab93f5d60267 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Wed, 29 Jun 2016 12:21:11 +0200 Subject: [PATCH] try to draw 1000*1000 svg grig --- src/arenas/tron/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arenas/tron/js.js b/src/arenas/tron/js.js index 0673607..f2bc05f 100644 --- a/src/arenas/tron/js.js +++ b/src/arenas/tron/js.js @@ -7,7 +7,7 @@ function createElem(type,attributes){ function createElemNs(type,attributes){ var elem=document.createElementNS("http://www.w3.org/2000/svg",type); for (var i in attributes) - {elem.setAttributeNs(null,i,attributes[i]);} + {elem.setAttribute(i,attributes[i]);} return elem; }