Some Graph fixes

This commit is contained in:
JonatanRek
2019-09-26 15:53:45 +02:00
parent e74d2095c6
commit 776a9e2d38
2 changed files with 124 additions and 111 deletions

View File

@@ -192,7 +192,6 @@ $( '[name="room"]' ).change(function (e) {
}
});
var windowLoc = $(location).attr('pathname');
windowLoc = windowLoc.substring(windowLoc.lastIndexOf("/"));
console.log();
@@ -227,11 +226,10 @@ if (windowLoc == "/") {
}
});
}
},2000);
},4000);
}
//Graphs
$('.graph-period').on('click', function (e) {
var subId = $(this).attr('data-sub-device-id');