diff --git a/package.json b/package.json index 43749d045..f15bb668a 100755 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "dev": " dev" }, "min": { - "chrome": "32", + "chrome": "34", "firefox": "26", "greasemonkey": "1.14" } diff --git a/src/General/css/style.css b/src/General/css/style.css index 15de61fbf..29530dbcd 100755 --- a/src/General/css/style.css +++ b/src/General/css/style.css @@ -1752,13 +1752,6 @@ grunt.file.expand('src/General/img/links/*.png').map(function(file) { } .gal-fit-height .gal-image img, .gal-fit-height .gal-image video { - /* - Chrome doesn't support viewpoint units in calc() - http://bugs.chromium.org/168840 - "It looks like the original author of viewport units in WebKit is not coming back to fix this stuff." - Well, fuck. - */ - max-height: 95vh; max-height: calc(100vh - 25px); } .gal-image iframe { diff --git a/src/General/lib/polyfill.coffee b/src/General/lib/polyfill.coffee index 6f7799f06..2f78e2d59 100755 --- a/src/General/lib/polyfill.coffee +++ b/src/General/lib/polyfill.coffee @@ -1,19 +1,6 @@ Polyfill = init: -> - @notificationPermission() @toBlob() - @visibility() - notificationPermission: -> - return if !window.Notification or 'permission' of Notification or !window.webkitNotifications - Object.defineProperty Notification, 'permission', - get: -> - switch webkitNotifications.checkPermission() - when 0 - 'granted' - when 1 - 'default' - when 2 - 'denied' toBlob: -> HTMLCanvasElement::toBlob or= (cb) -> data = atob @toDataURL()[22..] @@ -23,12 +10,3 @@ Polyfill = for i in [0...l] by 1 ui8a[i] = data.charCodeAt i cb new Blob [ui8a], type: 'image/png' - visibility: -> - # page visibility API - return if 'visibilityState' of d - Object.defineProperties HTMLDocument.prototype, - visibilityState: - get: -> @webkitVisibilityState - hidden: - get: -> @webkitHidden - $.on d, 'webkitvisibilitychange', -> $.event 'visibilitychange'