From a8dd2ea56a217d8a80854512373b2d2fc974da9a Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 17 May 2014 21:18:02 -0700 Subject: [PATCH] this check is not needed and breaks QR thumbnails on Tampermonkey --- src/General/lib/polyfill.coffee | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/General/lib/polyfill.coffee b/src/General/lib/polyfill.coffee index 08ce47683..6f7799f06 100755 --- a/src/General/lib/polyfill.coffee +++ b/src/General/lib/polyfill.coffee @@ -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',