diff --git a/src/arenas/tron/js.js b/src/arenas/tron/js.js index 5f88a7a..e411bdd 100644 --- a/src/arenas/tron/js.js +++ b/src/arenas/tron/js.js @@ -8,10 +8,7 @@ function createElem(type,attributes){ function tron(bot1,bot2,xdcheck){ - //empty - - - var mapImg = createElem('svg',{'alt' : 'map','width':'200','height':'200'}); + var mapImg = createElem('svg',{'alt' : 'map','width':'200px','height':'200px','xmlns':'http://www.w3.org/2000/svg'}); // "circle" may be any tag name mapImg.innerHTML = ' '; document.getElementById('mainArticle').appendChild(mapImg);