removed navigation on house click

This commit is contained in:
l_samenv
2024-09-11 09:42:06 +02:00
parent b65e2b6c36
commit e8f987a4b4

View File

@ -154,9 +154,11 @@ window.onload = function() {
swiper[s] = insertSwiper(s); swiper[s] = insertSwiper(s);
} }
var homeButton = document.getElementById("home-icon"); var homeButton = document.getElementById("home-icon");
homeButton.onclick = function () {
window.location = "http://" + location.hostname + ":8800/"; // TODO : uncomment this code with the right URL to navigate to when the way to select the instrument will be decided.
}; // homeButton.onclick = function () {
// window.location = "http://" + location.hostname + ":8800/";
// };
buildUpdateConnection(); buildUpdateConnection();
if (location.hash) { if (location.hash) {
console.log("hash in url", location.hash); console.log("hash in url", location.hash);