this check is not needed and breaks QR thumbnails on Tampermonkey

This commit is contained in:
ccd0 2014-05-17 21:18:02 -07:00
parent 50be3ab0bc
commit a8dd2ea56a

View File

@ -1,10 +1,8 @@
Polyfill =
init: ->
<% if (type === 'crx') { %>
@notificationPermission()
@toBlob()
@visibility()
<% } %>
notificationPermission: ->
return if !window.Notification or 'permission' of Notification or !window.webkitNotifications
Object.defineProperty Notification, 'permission',