mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Stop bundling the openFile-buttons in the CHROME build
This is, for all intents and purposes, equivalent to PR 14833 and slightly reduces the size of the `gulp chromium` output.
This commit is contained in:
parent
d1f13a6af3
commit
80910f44e5
6 changed files with 13 additions and 11 deletions
|
@ -135,7 +135,7 @@ class SecondaryToolbar {
|
|||
close: true,
|
||||
},
|
||||
];
|
||||
if (typeof PDFJSDev === "undefined" || !PDFJSDev.test("MOZCENTRAL")) {
|
||||
if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
|
||||
this.buttons.push({
|
||||
element: options.openFileButton,
|
||||
eventName: "openfile",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue