diff --git a/lib/polyfill.coffee b/lib/polyfill.coffee index 8298d63ae..08ce47683 100644 --- a/lib/polyfill.coffee +++ b/lib/polyfill.coffee @@ -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()