mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Disable font face in PDFs for IE 11 as well
This commit is contained in:
parent
901e32a050
commit
1e1c4ec570
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue