1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 19:04:12 +01:00

Fix toolbar commands for the Navbar.

This commit is contained in:
Doug Kearns
2015-06-11 03:01:17 +10:00
parent 3e77e62c78
commit 6ca1cc3d08
3 changed files with 35 additions and 24 deletions

View File

@@ -63,6 +63,11 @@ var Config = Module("config", ConfigBase, {
() => { modules.buffer.viewSelectionSource(); }]
},
get toolbars() {
let navbar = window.document.getElementById("nav-bar");
return window.getTogglableToolbars().concat(navbar);
},
removeTab: function removeTab(tab) {
if (window.gInPrintPreviewMode)
window.PrintUtils.exitPrintPreview();