After deleting torrent, remove just the player from forward stack
This commit is contained in:
parent
8f39f8a23e
commit
264c035ef7
1 changed files with 1 additions and 1 deletions
|
|
@ -1091,7 +1091,7 @@ function deleteTorrent (infoHash) {
|
|||
var index = state.saved.torrents.findIndex((x) => x.infoHash === infoHash)
|
||||
if (index > -1) state.saved.torrents.splice(index, 1)
|
||||
saveStateThrottled()
|
||||
state.location.clearForward() // prevent user from going forward to a deleted torrent
|
||||
state.location.clearForward('player') // prevent user from going forward to a deleted torrent
|
||||
sound.play('DELETE')
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue