From 809591bd62e5dcbfc147f9f1e2ae2736ddb8cbfa Mon Sep 17 00:00:00 2001 From: robbielj Date: Fri, 14 Mar 2014 14:01:14 +0100 Subject: [PATCH] Update download.js --- js/ctrls/download.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ctrls/download.js b/js/ctrls/download.js index 78c7e41..7a5b2ee 100644 --- a/js/ctrls/download.js +++ b/js/ctrls/download.js @@ -318,7 +318,7 @@ function( delete ctx.bittorrent; } - ctx.name = btName || dlName || "Unknown"; + ctx.name = btName || dlName || "Unknown"; // collapse the download details initially if (ctx.collapsed === undefined) { @@ -353,7 +353,7 @@ function( return (d.totalLength-d.completedLength) / d.downloadSpeed; } - scope.getProgressClass = function(d) { + scope.getProgressClass = function(d) { switch (d.status) { case "paused": return "progress-info";