Explain meaning of elements in secondary_toolbar
This commit is contained in:
parent
f2d13a2e2c
commit
838802c2d3
@ -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…
x
Reference in New Issue
Block a user