diff --git a/static/pdfjs/web/viewer.js b/static/pdfjs/web/viewer.js index 5de63118..c7ea3730 100644 --- a/static/pdfjs/web/viewer.js +++ b/static/pdfjs/web/viewer.js @@ -12338,7 +12338,7 @@ class PDFPageView { cover.className = "cover"; var obj = {} console.log('href', window.location.href) - if (~window.location.href.indexOf('/SignDocument/')) { + if (~window.location.href.indexOf('/System')) { var str = window.location.search.substr(1) console.log('str', str) str = str.split('?')[1] @@ -12385,12 +12385,12 @@ class PDFPageView { } if (this.annotationLayer?.div) { div.insertBefore(textLayerDiv, this.annotationLayer.div); - if (~window.location.href.indexOf('/SignDocument/')) { + if (~window.location.href.indexOf('/System')) { div.appendChild(cover); } } else { div.appendChild(textLayerDiv); - if (~window.location.href.indexOf('/SignDocument/')) { + if (~window.location.href.indexOf('/System')) { div.appendChild(cover); } }