From 183596c4e3984b5eb954c62572e3676b99ab3b8c Mon Sep 17 00:00:00 2001 From: Gnieark Date: Tue, 31 May 2016 16:57:19 +0200 Subject: [PATCH] fix js --- html/testBotScripts/tictactoe.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/testBotScripts/tictactoe.html b/html/testBotScripts/tictactoe.html index 57cabf3..bc65f9b 100644 --- a/html/testBotScripts/tictactoe.html +++ b/html/testBotScripts/tictactoe.html @@ -67,7 +67,7 @@ function changePlayerType(player,newValue){ function playingAT(cellKey){ //hide buttons var inputs = document.getElementById('grid').getElementsByTagName('input'); - for (var index = 0; index < inputs.length; ++index) { + for (var index = 0; index < inputs.length; index++) { inputs[index].setAttribute("class":"hidden"); }