mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Move 'presentation mode' and 'bookmarks' buttons in the secondary toolbar (bug 1789082)
This commit is contained in:
parent
783c722661
commit
e56c30eb59
5 changed files with 22 additions and 46 deletions
|
@ -107,23 +107,19 @@ function getViewerConfiguration() {
|
|||
),
|
||||
editorInkButton: document.getElementById("editorInk"),
|
||||
editorInkParamsToolbar: document.getElementById("editorInkParamsToolbar"),
|
||||
presentationModeButton: document.getElementById("presentationMode"),
|
||||
download: document.getElementById("download"),
|
||||
viewBookmark: document.getElementById("viewBookmark"),
|
||||
},
|
||||
secondaryToolbar: {
|
||||
toolbar: document.getElementById("secondaryToolbar"),
|
||||
toggleButton: document.getElementById("secondaryToolbarToggle"),
|
||||
presentationModeButton: document.getElementById(
|
||||
"secondaryPresentationMode"
|
||||
),
|
||||
presentationModeButton: document.getElementById("presentationMode"),
|
||||
openFileButton:
|
||||
typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")
|
||||
? document.getElementById("secondaryOpenFile")
|
||||
: null,
|
||||
printButton: document.getElementById("secondaryPrint"),
|
||||
downloadButton: document.getElementById("secondaryDownload"),
|
||||
viewBookmarkButton: document.getElementById("secondaryViewBookmark"),
|
||||
viewBookmarkButton: document.getElementById("viewBookmark"),
|
||||
firstPageButton: document.getElementById("firstPage"),
|
||||
lastPageButton: document.getElementById("lastPage"),
|
||||
pageRotateCwButton: document.getElementById("pageRotateCw"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue