|
|
@ -41,7 +41,10 @@ var SecondaryToolbar = { |
|
|
|
|
|
|
|
|
|
|
|
// Attach the event listeners.
|
|
|
|
// Attach the event listeners.
|
|
|
|
var elements = [ |
|
|
|
var elements = [ |
|
|
|
|
|
|
|
// Button to toggle the visibility of the secondary toolbar:
|
|
|
|
{ element: this.toggleButton, handler: this.toggle }, |
|
|
|
{ element: this.toggleButton, handler: this.toggle }, |
|
|
|
|
|
|
|
// All items within the secondary toolbar
|
|
|
|
|
|
|
|
// (except for toggleHandTool, hand_tool.js is responsible for it):
|
|
|
|
{ element: this.presentationModeButton, |
|
|
|
{ element: this.presentationModeButton, |
|
|
|
handler: this.presentationModeClick }, |
|
|
|
handler: this.presentationModeClick }, |
|
|
|
{ element: this.openFile, handler: this.openFileClick }, |
|
|
|
{ element: this.openFile, handler: this.openFileClick }, |
|
|
|