Skip to content

Commit

Permalink
bug fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
quackmore committed Aug 21, 2020
1 parent 0892a97 commit 5b69b06
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ function update_page() {
setTimeout(function () {
createChart();
}, 500);

}

$('#history_refresh').on('click', function () {
Expand Down Expand Up @@ -256,7 +255,7 @@ function max_array_val(array) {
array.forEach(function (element) {
if (element.y > max_val)
max_val = element.y;
})
});
return max_val;
}

Expand All @@ -265,6 +264,6 @@ function min_array_val(array) {
array.forEach(function (element) {
if (element.y < min_val)
min_val = element.y;
})
});
return min_val;
}

0 comments on commit 5b69b06

Please sign in to comment.