diff --git a/_layouts/default.html b/_layouts/default.html index 30d06ad..c30e615 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -8,7 +8,7 @@ Tom Monck JR by tmonck - + diff --git a/assets/js/renderPdf.js b/assets/js/renderPdf.js index 6ca1d8b..5758bae 100644 --- a/assets/js/renderPdf.js +++ b/assets/js/renderPdf.js @@ -4,7 +4,7 @@ var url = 'assets/docs/TomMonckResume.pdf'; var pdfjsLib = window['pdfjs-dist/build/pdf']; // The workerSrc property shall be specified. -pdfjsLib.GlobalWorkerOptions.workerSrc = '//mozilla.github.io/pdf.js/build/pdf.worker.js'; +pdfjsLib.GlobalWorkerOptions.workerSrc = '//mozilla.github.io/pdf.js/build/pdf.worker.mjs'; var pdfDoc = null, pageNum = 1,