MAPG-203 this.response.newPlace -> this.response.place #7

Merged
bence merged 1 commits from bugfix/MAPG-203-fix-wrong-object-key into develop 2021-03-17 22:54:46 +01:00
Showing only changes of commit 10d239bfb4 - Show all commits

View File

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