Fix :sty site completions

This commit is contained in:
Kris Maglione committed 2009-01-07 18:14:13 -05:00
1 parent d9418ff43b
commit 465405bc84
1 file changed
+1 -1
+1 -1
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;