Convert the secondary toolbar to a class

This commit is contained in:
Tim van der Meij 2016-05-11 01:31:03 +02:00
parent c1c199d702
commit f4ae277355
3 changed files with 177 additions and 177 deletions

View file

@ -81,16 +81,16 @@ function getViewerConfiguration() {
toggleButton: document.getElementById('secondaryToolbarToggle'),
presentationModeButton:
document.getElementById('secondaryPresentationMode'),
openFile: document.getElementById('secondaryOpenFile'),
print: document.getElementById('secondaryPrint'),
download: document.getElementById('secondaryDownload'),
viewBookmark: document.getElementById('secondaryViewBookmark'),
firstPage: document.getElementById('firstPage'),
lastPage: document.getElementById('lastPage'),
pageRotateCw: document.getElementById('pageRotateCw'),
pageRotateCcw: document.getElementById('pageRotateCcw'),
openFileButton: document.getElementById('secondaryOpenFile'),
printButton: document.getElementById('secondaryPrint'),
downloadButton: document.getElementById('secondaryDownload'),
viewBookmarkButton: document.getElementById('secondaryViewBookmark'),
firstPageButton: document.getElementById('firstPage'),
lastPageButton: document.getElementById('lastPage'),
pageRotateCwButton: document.getElementById('pageRotateCw'),
pageRotateCcwButton: document.getElementById('pageRotateCcw'),
toggleHandToolButton: document.getElementById('toggleHandTool'),
documentPropertiesButton: document.getElementById('documentProperties'),
toggleHandTool: document.getElementById('toggleHandTool'),
},
fullscreen: {
contextFirstPage: document.getElementById('contextFirstPage'),