Explain meaning of elements in secondary_toolbar

This commit is contained in:
Rob Wu 2014-01-08 11:59:30 +01:00
parent f2d13a2e2c
commit 838802c2d3

View File

@ -41,7 +41,10 @@ var SecondaryToolbar = {
// Attach the event listeners.
var elements = [
// Button to toggle the visibility of the secondary toolbar:
{ 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,
handler: this.presentationModeClick },
{ element: this.openFile, handler: this.openFileClick },