From 5304a38aa00587237e70a584b4209760013c12df Mon Sep 17 00:00:00 2001 From: dorian Date: Mon, 22 Jul 2019 22:52:18 +0200 Subject: [PATCH] fixed location links --- js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/index.js b/js/index.js index 4e97a11..2273449 100644 --- a/js/index.js +++ b/js/index.js @@ -37,7 +37,7 @@ class BlueWeatherIndex { var locHeadingText = document.createElement("a") locHeading.appendChild(locHeadingText) - locHeadingText.href = "dashboard.html?params=" + JSON.stringify({locId: thisLocation.id}) + locHeadingText.href = "dashboard.html?params=" + JSON.stringify({loc: parseInt(thisLocation.id)}) locHeadingText.innerHTML = thisLocation.locationname var locLocationLink = document.createElement("a")