returns to start when clicked on home symbol
All checks were successful
default-pipeline default-pipeline #126
All checks were successful
default-pipeline default-pipeline #126
This commit is contained in:
parent
b9927f79fc
commit
5c8f3d6fb9
@ -201,7 +201,7 @@
|
||||
width: 100%;
|
||||
}
|
||||
#navigation {
|
||||
bottom: 30px;
|
||||
bottom: 25px;
|
||||
left: 10px;
|
||||
width: 45px;
|
||||
}
|
||||
|
@ -379,6 +379,9 @@
|
||||
document.getElementById('currentRound').innerHTML = String(Game.rounds.length) + '/' + String(Game.NUMBER_OF_ROUNDS);
|
||||
|
||||
Game.loadPano(Game.panoId, Game.pov);
|
||||
|
||||
// needs to be set visible after the show guess map hid it in mobile view
|
||||
document.getElementById("navigation").style.visibility = 'visible';
|
||||
},
|
||||
|
||||
handleErrorResponse: function (error) {
|
||||
@ -938,4 +941,8 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
document.getElementById('returnToStart').onclick = function () {
|
||||
Game.loadPano(Game.panoId, Game.pov);
|
||||
}
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user