diff --git a/web/_js/infoblock.js b/web/_js/infoblock.js index 524ef993..edbaccb1 100644 --- a/web/_js/infoblock.js +++ b/web/_js/infoblock.js @@ -4,7 +4,7 @@ function createInfoBlock(entry) { let headerElement = document.createElement("h2"); let linkElement = document.createElement("a"); - linkElement.href = "?" + entry.id; + linkElement.href = "?id=" + entry.id; linkElement.innerText = entry.name; headerElement.appendChild(linkElement); diff --git a/web/_js/overlap.js b/web/_js/overlap.js index 61937518..4d4aa6a1 100644 --- a/web/_js/overlap.js +++ b/web/_js/overlap.js @@ -141,7 +141,7 @@ function initOverlap(){ if(args){ id = args.split("id=")[1]; if(id){ - id = parseInt(id.split("&")[0]); + id = id.split("&")[0]; } } diff --git a/web/_js/view.js b/web/_js/view.js index 6a6c6d12..b5097900 100644 --- a/web/_js/view.js +++ b/web/_js/view.js @@ -267,7 +267,7 @@ function initView(){ if(args){ id = args.split("id=")[1]; if(id){ - id = parseInt(id.split("&")[0]); + id = id.split("&")[0]; } }