From a3561d5c586bfd2e23d876d924eb7633859e60db Mon Sep 17 00:00:00 2001 From: Gunnar Skjold Date: Wed, 17 Nov 2021 20:50:30 +0100 Subject: [PATCH] Fixed free mem formatting bug --- web/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/application.js b/web/application.js index 2fb1868f..f73585b2 100644 --- a/web/application.js +++ b/web/application.js @@ -253,7 +253,7 @@ var fetch = function() { $('.ju').html(moment.duration(parseInt(json.u), 'seconds').humanize()); } - $('.jm').html((json.m.toFixed(0)/1000).toFixed(1)); + $('.jm').html((parseInt(json.m).toFixed(0)/1000).toFixed(1)); setStatus("esp", json.em); setStatus("han", json.hm);