forked from linux/documentation
fix ?
This commit is contained in:
1 parent
ac317fd571
commit
fdddaa32dc
2 files changed
+2
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
document$.subscribe(() => {
|
||||
// Point to your local copy
|
||||
pdfjsLib.GlobalWorkerOptions.workerSrc = "/assets/pdf.worker.mjs";
|
||||
pdfjsLib.GlobalWorkerOptions.workerSrc = "assets/pdf.worker.mjs";
|
||||
|
||||
document.querySelectorAll(".pdf-preview").forEach(el => {
|
||||
if (el.dataset.loaded) return; // prevent re-render on navigation
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ extra_css = ["assets/asciinema-player.css"]
|
||||
#
|
||||
# Read more: https://zensical.org/docs/customization/#additional-javascript
|
||||
#extra_javascript = ["assets/javascript/extra.js"]
|
||||
extra_javascript = ["assets/asciinema-player.min.js", "pdf.mjs", "pdfviewer.js"]
|
||||
extra_javascript = ["assets/asciinema-player.min.js", "assets/pdf.mjs", "assets/pdfviewer.js"]
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# Section for configuring theme options
|
||||
|
||||
Reference in new issue
Block a user