diff --git a/renderer/index.js b/renderer/index.js index bcafd9c7..76b1e185 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -315,7 +315,7 @@ function openPlayer (torrent) { } function deleteTorrent (torrent) { - torrent.destroy(function() { + torrent.destroy(function () { saveTorrents() // updates after writing to config }) }