diff --git a/src/webui/www/private/scripts/client.js b/src/webui/www/private/scripts/client.js
index 021058483..174713fbd 100644
--- a/src/webui/www/private/scripts/client.js
+++ b/src/webui/www/private/scripts/client.js
@@ -622,7 +622,7 @@ window.addEvent('load', function() {
$('DHTNodes').set('html', 'QBT_TR(DHT: %1 nodes)QBT_TR[CONTEXT=StatusBar]'.replace("%1", serverState.dht_nodes));
// Statistics dialog
- if (document.getElementById("statisticspage")) {
+ if (document.getElementById("statisticsContent")) {
$('AlltimeDL').set('html', window.qBittorrent.Misc.friendlyUnit(serverState.alltime_dl, false));
$('AlltimeUL').set('html', window.qBittorrent.Misc.friendlyUnit(serverState.alltime_ul, false));
$('TotalWastedSession').set('html', window.qBittorrent.Misc.friendlyUnit(serverState.total_wasted_session, false));
diff --git a/src/webui/www/private/views/statistics.html b/src/webui/www/private/views/statistics.html
index 580ef495e..dffd3ecc9 100644
--- a/src/webui/www/private/views/statistics.html
+++ b/src/webui/www/private/views/statistics.html
@@ -1,59 +1,59 @@
-
QBT_TR(User statistics)QBT_TR[CONTEXT=StatsDialog]
-
-
- QBT_TR(All-time upload:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
- QBT_TR(All-time download:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
- QBT_TR(All-time share ratio:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
- QBT_TR(Session waste:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
- QBT_TR(Connected peers:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
-
-QBT_TR(Cache statistics)QBT_TR[CONTEXT=StatsDialog]
-
-
- QBT_TR(Read cache hits:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
- QBT_TR(Total buffer size:)QBT_TR[CONTEXT=StatsDialog] |
-
-
-
-
-QBT_TR(Performance statistics)QBT_TR[CONTEXT=StatsDialog]
-
-
- QBT_TR(Write cache overload:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
- QBT_TR(Read cache overload:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
- QBT_TR(Queued I/O jobs:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
- QBT_TR(Average time in queue:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
- QBT_TR(Total queued size:)QBT_TR[CONTEXT=StatsDialog] |
- |
-
-
+
+
QBT_TR(User statistics)QBT_TR[CONTEXT=StatsDialog]
+
+
+ QBT_TR(All-time upload:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+ QBT_TR(All-time download:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+ QBT_TR(All-time share ratio:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+ QBT_TR(Session waste:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+ QBT_TR(Connected peers:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+
QBT_TR(Cache statistics)QBT_TR[CONTEXT=StatsDialog]
+
+
+ QBT_TR(Read cache hits:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+ QBT_TR(Total buffer size:)QBT_TR[CONTEXT=StatsDialog] |
+
+
+
+
QBT_TR(Performance statistics)QBT_TR[CONTEXT=StatsDialog]
+
+
+ QBT_TR(Write cache overload:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+ QBT_TR(Read cache overload:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+ QBT_TR(Queued I/O jobs:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+ QBT_TR(Average time in queue:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+ QBT_TR(Total queued size:)QBT_TR[CONTEXT=StatsDialog] |
+ |
+
+
+