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