bon ok, ça fait une heure que je lutte à cause de cet oubli
This commit is contained in:
parent
9f217eeeb1
commit
e32760329a
|
@ -23,6 +23,7 @@ function connectFour(bot1,bot2,xd_check, newGame){
|
|||
newGame = true;
|
||||
}
|
||||
|
||||
if (newGame){
|
||||
//empty
|
||||
while (document.getElementById('fightResult').firstChild) {
|
||||
document.getElementById('fightResult').removeChild(document.getElementById('fightResult').firstChild);
|
||||
|
@ -40,7 +41,7 @@ function connectFour(bot1,bot2,xd_check, newGame){
|
|||
table.appendChild(tr);
|
||||
}
|
||||
document.getElementById('fightResult').appendChild(table);
|
||||
|
||||
}
|
||||
var xhr = Ajx();
|
||||
xhr.onreadystatechange = function(){if(xhr.readyState == 4){
|
||||
if(xhr.status == 200) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user