From bded737c3cda519971a1fe6a4cc10daac1993cd5 Mon Sep 17 00:00:00 2001 From: ngosang Date: Thu, 14 May 2015 13:35:48 +0200 Subject: [PATCH] Web UI: Display wasted data with friendly units. Closes #2994 --- src/webui/www/public/scripts/prop-general.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/public/scripts/prop-general.js b/src/webui/www/public/scripts/prop-general.js index 5679be1cc..c470f609b 100644 --- a/src/webui/www/public/scripts/prop-general.js +++ b/src/webui/www/public/scripts/prop-general.js @@ -58,7 +58,7 @@ var loadTorrentData = function() { $('total_downloaded').set('html', friendlyUnit(data.total_downloaded) + " (" + friendlyUnit(data.total_downloaded_session) + " QBT_TR(this session)QBT_TR" + ")"); - $('total_wasted').set('html', data.total_wasted); + $('total_wasted').set('html', friendlyUnit(data.total_wasted)); temp = data.up_limit; $('up_limit').set('html', temp == -1 ? "∞" : temp); temp = data.dl_limit;