diff options
author | Floran Brutel <f.brutel@hexanet.fr> | 2015-09-23 21:06:25 +0200 |
---|---|---|
committer | Floran Brutel <f.brutel@hexanet.fr> | 2015-09-23 21:06:25 +0200 |
commit | 6410dbe648562f7457140aeacea03ec87fcc60a5 (patch) | |
tree | 48a0d0f5203b0c9a347eefb7da75a50fff21c12a | |
parent | 59db8f898e0de8987312c7b9fc1d40615104d825 (diff) |
Fix auto unit helper in the webui when value < 1024
-rw-r--r-- | glances/outputs/static/js/filters.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/outputs/static/js/filters.js b/glances/outputs/static/js/filters.js index 63e5b850..0df809fd 100644 --- a/glances/outputs/static/js/filters.js +++ b/glances/outputs/static/js/filters.js @@ -66,7 +66,7 @@ glancesApp.filter('bytes', function() { } } - return bytes; + return bytes.toFixed(0); } }); |