Bug: Space key triggers power save block from torrent list
Hitting Space from the torrent list should not cause power save to be blocked.
This commit is contained in:
@@ -378,6 +378,7 @@ function pause () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function playPause () {
|
function playPause () {
|
||||||
|
if (state.location.current().url !== 'player') return
|
||||||
if (state.playing.isPaused) {
|
if (state.playing.isPaused) {
|
||||||
play()
|
play()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user