Compare commits

..

2 Commits

Author SHA1 Message Date
0cc63ef936
Merge pull request 'MAPG-203 this.response.newPlace -> this.response.place' (#7) from bugfix/MAPG-203-fix-wrong-object-key into develop
All checks were successful
default-pipeline default-pipeline #28
Reviewed-on: https://gitea.e5tv.hu/esoko/mapguesser/pulls/7
2021-03-17 22:54:45 +01:00
10d239bfb4
MAPG-203 this.response.newPlace -> this.response.place
All checks were successful
default-pipeline default-pipeline #25
2021-03-17 22:54:06 +01:00

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;