show notifications even when window is focus
This commit is contained in:
parent
2549307a7e
commit
b3da0fc05c
1 changed files with 0 additions and 2 deletions
|
|
@ -974,8 +974,6 @@ function onWarning (err) {
|
|||
}
|
||||
|
||||
function showDoneNotification (torrent) {
|
||||
if (state.window.isFocused) return
|
||||
|
||||
var notif = new window.Notification('Download Complete', {
|
||||
body: torrent.name,
|
||||
silent: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue