mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-19 22:57:59 +01:00
Fix ruddy unnecessarilly padded, oversized Add-on Bar buttons.
This commit is contained in:
@@ -55,6 +55,8 @@ var JavaScript = Module("javascript", {
|
||||
|
||||
let seen = isinstance(obj, ["Sandbox"]) ? set(JavaScript.magicalNames) : {};
|
||||
let globals = values(toplevel && this.window === obj ? this.globalNames : []);
|
||||
if (toplevel && "wrappedJSObject" in obj)
|
||||
yield "wrappedJSObject";
|
||||
for (let key in iter(globals, properties(obj, !toplevel, true)))
|
||||
if (!set.add(seen, key))
|
||||
yield key;
|
||||
|
||||
Reference in New Issue
Block a user