MAPG-203 this.response.newPlace -> this.response.place
All checks were successful
default-pipeline default-pipeline #25

This commit is contained in:
Bence Pőcze 2021-03-17 22:54:06 +01:00
parent e2493e1b7e
commit 10d239bfb4
Signed by: bence
GPG Key ID: AA52B11A3269D1C1

View File

@ -200,9 +200,9 @@
document.getElementById('showSummaryButton').style.display = 'block';
}
if (this.response.newPlace) {
Game.panoId = this.response.newPlace.panoId;
Game.pov = this.response.newPlace.pov;
if (this.response.place) {
Game.panoId = this.response.place.panoId;
Game.pov = this.response.place.pov;
} else {
Game.panoId = null;
Game.pov = null;