remove callback from CreateNotification event

This commit is contained in:
ccd0 2014-06-18 00:40:21 -07:00
parent f5cafab599
commit aa0dff05c2

View File

@ -427,9 +427,8 @@ Header =
Header.menu.toggle e, @, g
createNotification: (e) ->
{type, content, lifetime, cb} = e.detail
{type, content, lifetime} = e.detail
notice = new Notice type, content, lifetime
cb notice if cb
areNotificationsEnabled: false
enableDesktopNotifications: ->