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")