Skip to content

Commit c8bf2c4

Browse files
authored
Merge branch 'master' into update-viewer-core
2 parents 2c28779 + 375272f commit c8bf2c4

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Diff for: web/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2236,7 +2236,7 @@ if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
22362236
// start accepting URLs from foreign origin -- CORS headers on the remote
22372237
// server must be properly configured.
22382238
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");
22402240
}
22412241
} catch (ex) {
22422242
PDFViewerApplication._documentError("pdfjs-loading-error", {

Diff for: web/viewer.css

+9
Original file line numberDiff line numberDiff line change
@@ -1752,3 +1752,12 @@ dialog :link {
17521752
display: none;
17531753
}
17541754
}
1755+
1756+
#editorModeButtons,
1757+
#editorModeSeparator,
1758+
#pageRotateCw,
1759+
#pageRotateCcw,
1760+
#pageRotateCcw + .horizontalToolbarSeparator,
1761+
#download {
1762+
display: none;
1763+
}

0 commit comments

Comments
 (0)