show notifications even when window is focus
This commit is contained in:
@@ -974,8 +974,6 @@ function onWarning (err) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function showDoneNotification (torrent) {
|
function showDoneNotification (torrent) {
|
||||||
if (state.window.isFocused) return
|
|
||||||
|
|
||||||
var notif = new window.Notification('Download Complete', {
|
var notif = new window.Notification('Download Complete', {
|
||||||
body: torrent.name,
|
body: torrent.name,
|
||||||
silent: true
|
silent: true
|
||||||
|
|||||||
Reference in New Issue
Block a user