fixed location links

This commit is contained in:
Dorian Zedler 2019-07-22 22:52:18 +02:00
parent 86189de537
commit 5304a38aa0
1 changed files with 1 additions and 1 deletions

View File

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