mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-28 07:25:46 +01:00
Check (v[0] in orig || orig[v[0]]) in JS completion again. The latter catches a lot of members in XPC wrapped objects
This commit is contained in:
@@ -475,7 +475,10 @@ function Events() //{{{
|
||||
};
|
||||
|
||||
if (liberator.has("tabs"))
|
||||
{
|
||||
args.tab = tabs.getContentIndex(doc) + 1;
|
||||
args.doc = "tabs.getTab(" + (args.tab - 1) + ").linkedBrowser.contentDocument";
|
||||
}
|
||||
|
||||
autocommands.trigger(name, args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user