From 838802c2d3fcd1a2fd048c74ffb3a4b124d567b6 Mon Sep 17 00:00:00 2001 From: Rob Wu Date: Wed, 8 Jan 2014 11:59:30 +0100 Subject: [PATCH] Explain meaning of elements in secondary_toolbar --- web/secondary_toolbar.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/secondary_toolbar.js b/web/secondary_toolbar.js index aff0c2b75..c9375823d 100644 --- a/web/secondary_toolbar.js +++ b/web/secondary_toolbar.js @@ -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 },