mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 04:41:32 +02:00
Disable font face in PDFs for IE 11 as well
This commit is contained in:
@@ -12,7 +12,7 @@ define [
|
||||
INDICATOR_DELAY2: 250 # time until the indicator starts animating
|
||||
|
||||
constructor: (@url, @options) ->
|
||||
if navigator.userAgent?.indexOf("Edge/") >= 0
|
||||
if navigator.userAgent?.indexOf("Edge/") >= 0 or navigator.userAgent?.indexOf("rv:11.0") >= 0 # IE 11
|
||||
# Microsoft Edge does not work well with font-face (Sept 2016)
|
||||
PDFJS.disableFontFace = true
|
||||
if @options.disableAutoFetch
|
||||
|
||||
Reference in New Issue
Block a user