mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
load the compatibility library from the correct version of pdf.js
This commit is contained in:
parent
440c1d3987
commit
5053536fff
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ block content
|
|||
if usePdfNG
|
||||
script(type='text/javascript').
|
||||
window.requirejs.paths['libs/pdf'] = 'libs/pdfjs-1.0.712/pdf'
|
||||
window.requirejs.paths['libs/compatibility'] = 'libs/pdfjs-1.0.712/compatibility'
|
||||
|
||||
script(
|
||||
data-main=jsPath+"ide.js",
|
||||
|
|
Loading…
Reference in a new issue