diff options
author | rstular <rok@stular.eu> | 2020-05-14 18:46:32 +0200 |
---|---|---|
committer | rstular <rok@stular.eu> | 2020-05-14 18:49:51 +0200 |
commit | d10d5472956eb606093851c98944ea50ea843805 (patch) | |
tree | e844c0308021be3d921e02f65c6e40ee3d6e2bb6 /js/messaging.js | |
parent | Moved storage notice (diff) | |
download | beziapp-d10d5472956eb606093851c98944ea50ea843805.tar beziapp-d10d5472956eb606093851c98944ea50ea843805.tar.gz beziapp-d10d5472956eb606093851c98944ea50ea843805.tar.bz2 beziapp-d10d5472956eb606093851c98944ea50ea843805.tar.lz beziapp-d10d5472956eb606093851c98944ea50ea843805.tar.xz beziapp-d10d5472956eb606093851c98944ea50ea843805.tar.zst beziapp-d10d5472956eb606093851c98944ea50ea843805.zip |
Diffstat (limited to '')
-rw-r--r-- | js/messaging.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/messaging.js b/js/messaging.js index 0768a49..c34e242 100644 --- a/js/messaging.js +++ b/js/messaging.js @@ -311,6 +311,10 @@ function displayData(messageType) { break; } + // $("#storage-bar").show(); + $("#storage-progressbar").width(Number(Number(getNumMessages(messageType) / 120) * 100).toFixed(2) + "%"); + $("#storage-stats").text(`${getNumMessages(messageType)}/120`); + let msg_list = $(div_selector); msg_list.html(""); messages[messageType].forEach(element => { @@ -354,10 +358,6 @@ function displayData(messageType) { `); } }); - - $("#storage-bar").show(); - $("#storage-progressbar").width(Number(Number(getNumMessages(messageType) / 120) * 100).toFixed(2) + "%"); - $("#storage-stats").html(`${getNumMessages(messageType)}/120`); } // -1 = cumulative |