show notifications even when window is focus

This commit is contained in:
Feross Aboukhadijeh
2016-04-05 18:34:30 -07:00
parent 2549307a7e
commit b3da0fc05c

View File

@@ -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