Browse Source

Explain meaning of elements in secondary_toolbar

Rob Wu 11 years ago
parent
commit
838802c2d3
  1. 3
      web/secondary_toolbar.js

3
web/secondary_toolbar.js

@ -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 },

Loading…
Cancel
Save