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
All checks were successful
default-pipeline default-pipeline #28
Reviewed-on: https://gitea.e5tv.hu/esoko/mapguesser/pulls/7
This commit is contained in:
commit
0cc63ef936
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user