зеркало из
https://github.com/M82-project/M82-SiteWeb.git
synced 2025-10-29 21:16:10 +02:00
fix path
Этот коммит содержится в:
родитель
f1506c01a4
Коммит
9592566bfe
@ -128,7 +128,7 @@ View the PDF file <a class="pdf-source" id="pdf-source-noscript-{{ substr (.Get
|
|||||||
|
|
||||||
// The workerSrc property shall be specified.
|
// The workerSrc property shall be specified.
|
||||||
if (pdfjsLib.GlobalWorkerOptions.workerSrc == '')
|
if (pdfjsLib.GlobalWorkerOptions.workerSrc == '')
|
||||||
pdfjsLib.GlobalWorkerOptions.workerSrc = "{{.Site.BaseURL}}" + 'js/pdf-js/build/pdf.worker.js';
|
pdfjsLib.GlobalWorkerOptions.workerSrc = "{{.Site.BaseURL}}" + '/js/pdf-js/build/pdf.worker.js';
|
||||||
|
|
||||||
// Change the Scale value for lower or higher resolution.
|
// Change the Scale value for lower or higher resolution.
|
||||||
var pdfDoc = null,
|
var pdfDoc = null,
|
||||||
|
|||||||
Загрузка…
x
Ссылка в новой задаче
Block a user