Add silent option to web notifications (not supported in firefox right now - hopefully soon).
This commit is contained in:
parent
09a49b0a48
commit
77e61c3631
1 changed files with 1 additions and 0 deletions
|
@ -27,6 +27,7 @@ class App.Notify extends App.ControllerWidgetPermanent
|
||||||
|
|
||||||
@desktopNotifyCounter += 1
|
@desktopNotifyCounter += 1
|
||||||
counter = @desktopNotifyCounter
|
counter = @desktopNotifyCounter
|
||||||
|
data.silent = true
|
||||||
notification = new window.Notification(data.title, data)
|
notification = new window.Notification(data.title, data)
|
||||||
@desktopNotify[counter] = notification
|
@desktopNotify[counter] = notification
|
||||||
@log 'debug', 'notifyDesktop', data, counter
|
@log 'debug', 'notifyDesktop', data, counter
|
||||||
|
|
Loading…
Reference in a new issue