diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-26 16:45:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 16:45:28 +0300 |
commit | 4d7d606e9bf217cb239c52d676dea30b23cdaff6 (patch) | |
tree | 3aaa137c800a330166d53c7846288bbb11405607 /js | |
parent | 743fe8cbc2b0f2552e465a7eb6723659040732cc (diff) | |
parent | c0972753b232d71cbae2683bf98b4edd51993d79 (diff) |
Merge pull request #129 from nextcloud/feature/noid/api-info-json-format
Adds tooltip to make people aware of API JSON format
Diffstat (limited to 'js')
-rw-r--r-- | js/script.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/js/script.js b/js/script.js index b1a5f38..4e32638 100644 --- a/js/script.js +++ b/js/script.js @@ -25,7 +25,7 @@ swapUsageLine, cpuLoadChart, cpuLoadLine, - activeusersChart, + activeUsersChart, sharesChart; $(document).ready(function () { @@ -41,6 +41,7 @@ setHumanReadableSizeToElement("phpUploadMaxSize"); setHumanReadableSizeToElement("systemDiskFreeSpace"); + $('#ocsEndPoint span.icon-info').tooltip({placement: 'top'}); initMonitoringLinkToClipboard(); $("#monitoring-endpoint-url").on('click', function() { $(this).select(); @@ -209,10 +210,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: [ |