mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 00:54:14 +01:00
:hi CompMsg height: 1.5em; line-height: 1.5em; as the completion rows.
This commit is contained in:
@@ -573,7 +573,7 @@ function Completion() //{{{
|
||||
|
||||
// v[0] in orig and orig[v[0]] catch different cases. XPCOM
|
||||
// objects are problematic, to say the least.
|
||||
if ([modules, plugins, userContext].some(function (o) o.isPrototypeOf(obj)))
|
||||
if (modules.isPrototypeOf(obj))
|
||||
compl = [v for (v in Iterator(obj))];
|
||||
else
|
||||
{
|
||||
|
||||
@@ -350,7 +350,7 @@ const util = { //{{{
|
||||
try // window.content often does not want to be queried with "var i in object"
|
||||
{
|
||||
let hasValue = !("__iterator__" in object);
|
||||
if (object.__proto__ == modules || object.__proto__ == plugins)
|
||||
if (modules.isPrototypeOf(object))
|
||||
{
|
||||
object = Iterator(object);
|
||||
hasValue = false;
|
||||
|
||||
Reference in New Issue
Block a user