mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
load the compatibility library from the correct version of pdf.js
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user