From 7fe4570c56cce951b421355eb151ce8d1444a074 Mon Sep 17 00:00:00 2001 From: gnieark Date: Fri, 11 Dec 2015 13:17:53 +0100 Subject: [PATCH] fix double appendchild --- src/arenas/Battleship/js.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/arenas/Battleship/js.js b/src/arenas/Battleship/js.js index 400921a..2d12856 100644 --- a/src/arenas/Battleship/js.js +++ b/src/arenas/Battleship/js.js @@ -37,9 +37,7 @@ function battleship(bot1,bot2,gridWidth,gridHeight,nbShip1,nbShip2,nbShip3,nbShi tdTitre1.innerHTML = bot1IdName[1]; tdTitre2.innerHTML = bot2IdName[1]; trTitre1.appendChild(tdTitre1); - tableAdv.appendChild(trTitre1); trTitre2.appendChild(tdTitre2); - tableMe.appendChild(trTitre2); var trAdv=createElem("tr"); var trMe=createElem("tr");