@philschatz It's not an <a>, it's a button. It causes the page to reload for some reason.

@tmsp1, the fix is gh-book specific, the problem does not exist outside of gh-book, and the toolbar template itself is in gh-book and not in the toolbar plugin, so I figure any code to make that template behave belongs on this side.