diff --git a/js/ctrls/download.js b/js/ctrls/download.js index 59ceaa0..b6d5d79 100644 --- a/js/ctrls/download.js +++ b/js/ctrls/download.js @@ -52,17 +52,6 @@ function( d.followedFrom = null; } rpc.once(method, [d.gid], cb); - - var lists = [scope.active, scope.waiting, scope.stopped], ind = -1, i; - for (var i = 0; i < lists.length; ++i) { - var list = lists[i]; - var idx = list.indexOf(d); - if (idx < 0) { - continue; - } - list.splice(idx, 1); - return; - } } scope.restart = function(d) {