From 1092c61f78097d8a1a8357aa143a0619cbf1dc06 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sun, 3 Jul 2016 12:52:24 +0200 Subject: [PATCH] . --- src/arenas/tron/js.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/arenas/tron/js.js b/src/arenas/tron/js.js index f69eb43..f5ebecd 100644 --- a/src/arenas/tron/js.js +++ b/src/arenas/tron/js.js @@ -92,9 +92,9 @@ function play(gameId,xd_check){ } } }; - request.open("POST", '/tron', true); - request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); - request.send('act=play&xd_check=' + xd_check + '&gameId=' + gameId + '&fullLogs=' + document.getElementById("fullLogs").checked); + req.open("POST", '/tron', true); + req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); + req.send('act=play&xd_check=' + xd_check + '&gameId=' + gameId + '&fullLogs=' + document.getElementById("fullLogs").checked); } function tron(xd_check){