mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 11:47:59 +01:00
Fix :sty site completions
This commit is contained in:
@@ -285,7 +285,7 @@ CompletionContext.prototype = {
|
|||||||
set completions(items)
|
set completions(items)
|
||||||
{
|
{
|
||||||
// Accept a generator
|
// Accept a generator
|
||||||
if (!(items instanceof Array))
|
if (!("length" in items))
|
||||||
items = [x for (x in Iterator(items))];
|
items = [x for (x in Iterator(items))];
|
||||||
delete this.cache.filtered;
|
delete this.cache.filtered;
|
||||||
delete this.cache.filter;
|
delete this.cache.filter;
|
||||||
|
|||||||
Reference in New Issue
Block a user