mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 20:02:25 +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
|
// TODO: move this
|
||||||
function getMenuItems()
|
function getMenuItems()
|
||||||
{
|
{
|
||||||
var menubar = document.getElementById("main-menubar");
|
var menubar = document.getElementById(liberator.config.guioptions["m"]);
|
||||||
var items = [];
|
var items = [];
|
||||||
|
|
||||||
for (var i = 0; i < menubar.childNodes.length; i++)
|
for (var i = 0; i < menubar.childNodes.length; i++)
|
||||||
|
|||||||
Reference in New Issue
Block a user