From 36bed2c89f4836f83a2e5ee2863e0f4f300685ed Mon Sep 17 00:00:00 2001 From: Gnieark Date: Fri, 27 May 2016 22:46:00 +0200 Subject: [PATCH] fix --- html/testBot.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/testBot.html b/html/testBot.html index 0ffae0b..0e6fa2f 100644 --- a/html/testBot.html +++ b/html/testBot.html @@ -138,7 +138,7 @@ function play(player){ die; } }}; - xhr.open("POST", document.getElementById('player' + player + 'URL').value, true); + xhr.open("POST", document.getElementById('url' + player).value, true); xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); xhr.send('game=connectFour&match_id=666-' + player + '&you=' + symbol + '&grid=' + JSON.stringify(grid) );