diff options
author | Patrik Kernstock <info@pkern.at> | 2018-09-05 02:11:39 +0300 |
---|---|---|
committer | Patrik Kernstock <info@pkern.at> | 2018-09-05 02:11:39 +0300 |
commit | c0972753b232d71cbae2683bf98b4edd51993d79 (patch) | |
tree | 107e2c202604abe67ddbf45215dbaffc1b6d95f7 /js | |
parent | 39c568dcbb9469654e22f7cd4630d7a9fddeb2cd (diff) |
Just a very simple variable naming fix that was bugging me
Signed-off-by: Patrik Kernstock <info@pkern.at>
Diffstat (limited to 'js')
-rw-r--r-- | js/script.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/script.js b/js/script.js index 8e73137..92a16b2 100644 --- a/js/script.js +++ b/js/script.js @@ -25,7 +25,7 @@ swapUsageLine, cpuLoadChart, cpuLoadLine, - activeusersChart, + activeUsersChart, sharesChart; $(document).ready(function () { @@ -199,10 +199,10 @@ stepSize = 1; } - if (typeof activeusersChart === 'undefined') { + if (typeof activeUsersChart === 'undefined') { var ctx = document.getElementById("activeuserscanvas"); - activeusersChart = new Chart(ctx, { + activeUsersChart = new Chart(ctx, { type: 'line', data: { labels: [ |