mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 00:02:27 +01:00
use liberator.config.guioptions to determine the ID of the toolbar for :emenu
This commit is contained in:
@@ -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