mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 05:02:31 +02:00
use liberator.config.guioptions to determine the ID of the toolbar for :emenu
This commit is contained in:
1 parent
b145689c14
commit
00f8ed632e
1 file changed
+1
-1
@@ -155,7 +155,7 @@ const liberator = (function () //{{{
|
||||
// TODO: move this
|
||||
function getMenuItems()
|
||||
{
|
||||
var menubar = document.getElementById("main-menubar");
|
||||
var menubar = document.getElementById(liberator.config.guioptions["m"]);
|
||||
var items = [];
|
||||
|
||||
for (var i = 0; i < menubar.childNodes.length; i++)
|
||||
|
||||
Reference in new issue
Block a user