remove callback from CreateNotification event
This commit is contained in:
parent
f5cafab599
commit
aa0dff05c2
@ -427,9 +427,8 @@ Header =
|
|||||||
Header.menu.toggle e, @, g
|
Header.menu.toggle e, @, g
|
||||||
|
|
||||||
createNotification: (e) ->
|
createNotification: (e) ->
|
||||||
{type, content, lifetime, cb} = e.detail
|
{type, content, lifetime} = e.detail
|
||||||
notice = new Notice type, content, lifetime
|
notice = new Notice type, content, lifetime
|
||||||
cb notice if cb
|
|
||||||
|
|
||||||
areNotificationsEnabled: false
|
areNotificationsEnabled: false
|
||||||
enableDesktopNotifications: ->
|
enableDesktopNotifications: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user