erf
This commit is contained in:
parent
b370cf2f91
commit
30d41fa5fa
|
@ -64,9 +64,9 @@ function connectFour(bot1,bot2,xd_check, newGame){
|
||||||
xhr.open("POST", '/connectFour', true);
|
xhr.open("POST", '/connectFour', true);
|
||||||
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
||||||
if(newGame){
|
if(newGame){
|
||||||
var act=newFight;
|
var act='newFight';
|
||||||
}else{
|
}else{
|
||||||
var act=fight;
|
var act='fight';
|
||||||
}
|
}
|
||||||
xhr.send('act=' + act + '&bot1=' + bot1 + '&bot2=' + bot2 + '&xd_check=' + xd_check);
|
xhr.send('act=' + act + '&bot1=' + bot1 + '&bot2=' + bot2 + '&xd_check=' + xd_check);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user