Compare commits

..

No commits in common. "71681f1e5514de766871ac6dac264dd08bb2061a" and "fc9eb183f1067bbf323db5e7234eff7ba020502d" have entirely different histories.

View File

@ -107,8 +107,8 @@
Game.panoId = data.place.panoId; Game.panoId = data.place.panoId;
Game.pov = data.place.pov; Game.pov = data.place.pov;
document.getElementById('multi').style.visibility = 'hidden';
document.getElementById('panoCover').style.visibility = 'hidden'; document.getElementById('panoCover').style.visibility = 'hidden';
MapGuesser.hideModal();
Game.startNewRound(); Game.startNewRound();
} }
@ -153,7 +153,7 @@
Game.panoId = data.place.panoId; Game.panoId = data.place.panoId;
Game.pov = data.place.pov; Game.pov = data.place.pov;
document.getElementById('multi').style.visibility = 'hidden'; MapGuesser.hideModal();
Game.resetRound(); Game.resetRound();
Game.startNewRound(); Game.startNewRound();
} }
@ -188,7 +188,7 @@
Game.multi.token = this.response.token; Game.multi.token = this.response.token;
Game.multi.owner = this.response.owner; Game.multi.owner = this.response.owner;
document.getElementById('multi').style.visibility = 'visible'; MapGuesser.showModal('multi');
if (Game.multi.owner) { if (Game.multi.owner) {
document.getElementById('startMultiGameButton').style.display = 'block'; document.getElementById('startMultiGameButton').style.display = 'block';
} }
@ -721,7 +721,7 @@
return; return;
} }
document.getElementById('multi').style.visibility = 'hidden'; MapGuesser.hideModal();
document.getElementById('loading').style.visibility = 'visible'; document.getElementById('loading').style.visibility = 'visible';
MapGuesser.httpRequest('POST', '/multiGame/' + roomId + '/initialData.json', function () { MapGuesser.httpRequest('POST', '/multiGame/' + roomId + '/initialData.json', function () {