save config on torrent.destroy
This commit is contained in:
parent
045f38089c
commit
ec56d9a642
1 changed files with 3 additions and 1 deletions
|
|
@ -315,7 +315,9 @@ function openPlayer (torrent) {
|
|||
}
|
||||
|
||||
function deleteTorrent (torrent) {
|
||||
torrent.destroy(update)
|
||||
torrent.destroy(function() {
|
||||
saveTorrents() // updates after writing to config
|
||||
})
|
||||
}
|
||||
|
||||
function openChromecast (torrent) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue