returns to start when clicked on home symbol
default-pipeline default-pipeline #126

This commit is contained in:
balazs committed 2021-04-28 18:26:46 +02:00
1 parent b9927f79fc
commit 5c8f3d6fb9
2 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@
width: 100%;
}
#navigation {
bottom: 30px;
bottom: 25px;
left: 10px;
width: 45px;
}
+7
View File
@@ -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);
}
})();