From ac454e6c8f678a033549d1bbe353508b8cc2c325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Rodr=C3=ADguez?= Date: Fri, 3 Feb 2017 11:57:35 -0500 Subject: [PATCH] Fix Done debug --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 4af6b7f..2db1132 100644 --- a/app.js +++ b/app.js @@ -319,7 +319,7 @@ app.controller('ViewCtrl', ['$scope', '$rootScope', '$http', '$log', '$location' dbg('Done ', file) }) }) - torrent.on('done', dbg('Done', torrent)) + torrent.on('done', function () { dbg('Done', torrent) }) torrent.on('wire', function (wire, addr) { dbg(`Wire ${addr}`, torrent) }) torrent.on('error', er) }