diff --git a/pdf.worker.js b/pdf.worker.js index 3b65797..078b3a3 100644 --- a/pdf.worker.js +++ b/pdf.worker.js @@ -39423,8 +39423,6 @@ if (!PDFJS.workerSrc && typeof document !== 'undefined') { var scriptTagContainer = document.body || document.getElementsByTagName('head')[0]; var pdfjsSrc = scriptTagContainer.lastChild.src; - return pdfjsSrc && pdfjsSrc.replace(/\.js$/i, '.worker.js'); + return pdfjsSrc; })(); } - -