aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lo.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lo.js b/lo.js
index fb985bd..224b8d7 100644
--- a/lo.js
+++ b/lo.js
@@ -107,7 +107,7 @@
],
completer: function (context, arg, bang) {
context.title = ['URL', 'Text Content'];
- context.items = filteredLinks(context.filter).map(function (it) ([it.href, it.textContent]));
+ context.completions = filteredLinks(context.filter).map(function (it) ([it.href, it.textContent]));
},
},
true
@@ -154,7 +154,7 @@
lolinks = filteredLinks(last.filter);
context.title = ['URL', 'Text Content'];
context.advance(last.offset - last.caret);
- context.items = lolinks.map(function (it, i) ([i + ',' + it.href, it.textContent]));
+ context.completions = lolinks.map(function (it, i) ([i + ',' + it.href, it.textContent]));
}
},
true