1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 07:48:00 +01:00

Fix :sty site completions

This commit is contained in:
Kris Maglione
2009-01-07 18:14:13 -05:00
parent d9418ff43b
commit 465405bc84

View File

@@ -285,7 +285,7 @@ CompletionContext.prototype = {
set completions(items)
{
// Accept a generator
if (!(items instanceof Array))
if (!("length" in items))
items = [x for (x in Iterator(items))];
delete this.cache.filtered;
delete this.cache.filter;