Opera is being weird with notifications.
This commit is contained in:
parent
7118c71695
commit
f12ba5ee64
@ -6,7 +6,7 @@ Polyfill =
|
||||
@visibility()
|
||||
<% } %>
|
||||
notificationPermission: ->
|
||||
return if !window.Notification or 'permission' of Notification
|
||||
return if !window.Notification or 'permission' of Notification or !window.webkitNotifications
|
||||
Object.defineProperty Notification, 'permission',
|
||||
get: ->
|
||||
switch webkitNotifications.checkPermission()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user