mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-25 06:23:32 +01:00
Fix context menu magic.
This commit is contained in:
@@ -760,7 +760,7 @@ const CommandLine = Module("commandline", {
|
|||||||
|
|
||||||
for (let [, node] in iter(event.target.childNodes)) {
|
for (let [, node] in iter(event.target.childNodes)) {
|
||||||
let group = node.getAttributeNS(NS, "group");
|
let group = node.getAttributeNS(NS, "group");
|
||||||
node.hidden = group && !groups.split(/\s+/).some(function (g) enabled[g]);
|
node.hidden = group && !group.split(/\s+/).some(function (g) enabled[g]);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user