diff --git a/src/arenas/tron/js.js b/src/arenas/tron/js.js index d0292b7..51b29d0 100644 --- a/src/arenas/tron/js.js +++ b/src/arenas/tron/js.js @@ -18,7 +18,7 @@ function tron(bot1,bot2,xdcheck){ document.getElementById('fightResult').removeChild(document.getElementById('fightResult').firstChild); } // draw border; - var svg = createElementNS('svg',{'id':'map','width':'1000','height':'1000'}); + var svg = createElemNS('svg',{'id':'map','width':'1000','height':'1000'}); var rect=createElemNS('rect',{'x':'0','y':'0','width':'1000','height':'1000','style':'stroke:#000000; fill:none;'}); svg.appendChild(rect);