mozilla/pdf.js — pull request #4140 by timvandermeij (2014-01-17 11:12:04+00:00)
Title: Close the secondary toolbar when an action is performed once

Fixes #4009. What this PR does:

- Make sure the secondary toolbar closes when using the first page/last page/hand tool toggle buttons, as they are usually only used once (not used in succession).
- Fixes a bug in the hand tool implementation where the `this.toggle()` function of the object was never called.
- Adding the `viewBookmark` button to the secondary toolbar because it was missing and so we can close the secondary toolbar after clicking the button.