1
0
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:
Kris Maglione
2010-10-05 14:22:21 -04:00
parent 5c55d163c0
commit 89a594687e

View File

@@ -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;
},