diff --git a/index.html b/index.html index e7be6f9..59b9b8a 100755 --- a/index.html +++ b/index.html @@ -207,7 +207,7 @@ -
+

Currently no downloads in line to display, use the Add download button to start downloading files!

@@ -522,12 +522,12 @@ -

Global Statistics

+

Global Statistics

+ dgraph ng-show="totalAria2Downloads()">
diff --git a/js/services/utils.js b/js/services/utils.js index b87e900..dcb49d0 100644 --- a/js/services/utils.js +++ b/js/services/utils.js @@ -38,7 +38,7 @@ angular.module('webui.services.utils', []) mergeMap: function(arr, dest, func) { if (!dest) dest = []; - for (i = 0; i < dest.length; i++) { + for (var i = 0; i < dest.length; i++) { if (i >= arr.length) { // remove the deleted downloads dest.splice(i, dest.length - arr.length);