1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 04:24:11 +01:00

Fix completion.listCompleter.

This commit is contained in:
Kris Maglione
2011-01-04 11:07:37 -05:00
parent 80def7bfe9
commit 3350f3d4bf
2 changed files with 4 additions and 2 deletions

View File

@@ -864,7 +864,7 @@ var Completion = Module("completion", {
listCompleter: function listCompleter(name, filter, maxItems) {
let context = modules.CompletionContext(filter || "");
context.maxItems = maxItems;
context.fork.apply(context, ["list", 0, completion, name].concat(Array.slice(arguments, 3)));
context.fork.apply(context, ["list", 0, this, name].concat(Array.slice(arguments, 3)));
context = context.contexts["/list"];
context.wait();