fixed charts not loading

This commit is contained in:
Dorian Zedler 2019-07-14 22:12:09 +02:00
parent 7a27acb32a
commit 72ea619f6d

View file

@ -249,10 +249,10 @@ class BlueWeatherDashboard {
loadDiagram(parentId, locationData, sensorId) {
if(typeof(parentId) === "string"){
mainContent = document.getElementById(parentId)
var mainContent = document.getElementById(parentId)
}
else {
mainContent = parentId
var mainContent = parentId
}
// get all relevant meassurement values