Fix implicit global declarations

This commit is contained in:
Michael Steenbeek 2019-01-08 15:33:04 +01:00 committed by Franco Fichtner
parent 97645093c3
commit 392a9daee3
2 changed files with 3 additions and 3 deletions

View File

@ -396,7 +396,7 @@
var counter = 1; // used for row count
for (index = 0; index < data["d3"]["data"].length; ++index) {
for (let index = 0; index < data["d3"]["data"].length; ++index) {
rowcounter = 0;
min = 0;
max = 0;

View File

@ -58,9 +58,9 @@ $( document ).ready(function() {
// avoid running code twice due to <script> location within <body>
if (typeof monitPollInit === 'undefined') {
monitPollInit = false;
let monitPollInit = false;
} else {
monitPollInit = true;
let monitPollInit = true;
}
function monitStatusPoll() {