File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -2236,7 +2236,7 @@ if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
2236
2236
// start accepting URLs from foreign origin -- CORS headers on the remote
2237
2237
// server must be properly configured.
2238
2238
if ( fileOrigin !== viewerOrigin ) {
2239
- throw new Error ( "file origin does not match viewer's" ) ;
2239
+ // throw new Error("file origin does not match viewer's");
2240
2240
}
2241
2241
} catch ( ex ) {
2242
2242
PDFViewerApplication . _documentError ( "pdfjs-loading-error" , {
Original file line number Diff line number Diff line change @@ -1752,3 +1752,12 @@ dialog :link {
1752
1752
display : none;
1753
1753
}
1754
1754
}
1755
+
1756
+ # editorModeButtons ,
1757
+ # editorModeSeparator ,
1758
+ # pageRotateCw ,
1759
+ # pageRotateCcw ,
1760
+ # pageRotateCcw + .horizontalToolbarSeparator ,
1761
+ # download {
1762
+ display : none;
1763
+ }
You can’t perform that action at this time.
0 commit comments