Merge pull request 'MAPG-203 this.response.newPlace -> this.response.place' (#7) from bugfix/MAPG-203-fix-wrong-object-key into develop
default-pipeline default-pipeline #28
default-pipeline default-pipeline #28
Reviewed-on: https://gitea.e5tv.hu/esoko/mapguesser/pulls/7
This commit was merged in pull request #7.
This commit is contained in:
1 file changed
+3
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user