mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-31 18:55:47 +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)) {
|
||||
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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user