This commit is contained in:
Gnieark 2016-07-03 12:52:24 +02:00
parent c8610d0873
commit 1092c61f78

View File

@ -92,9 +92,9 @@ function play(gameId,xd_check){
} }
} }
}; };
request.open("POST", '/tron', true); req.open("POST", '/tron', true);
request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
request.send('act=play&xd_check=' + xd_check + '&gameId=' + gameId + '&fullLogs=' + document.getElementById("fullLogs").checked); req.send('act=play&xd_check=' + xd_check + '&gameId=' + gameId + '&fullLogs=' + document.getElementById("fullLogs").checked);
} }
function tron(xd_check){ function tron(xd_check){