mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-31 01:12:27 +01:00
Add CompletionContextcompletion.jscancelAll
This commit is contained in:
@@ -1438,10 +1438,7 @@ function CommandLine() //{{{
|
||||
// liberator.dump("Resetting completions...");
|
||||
if (completions)
|
||||
{
|
||||
// if any child context has a cancelFunc, call it
|
||||
for (let [, context] in Iterator(completions.context.top.contexts))
|
||||
if (context.cancelFunc)
|
||||
context.cancelFunc();
|
||||
completions.context.cancelAll();
|
||||
|
||||
completions.wildIndex = -1;
|
||||
completions.previewClear();
|
||||
|
||||
Reference in New Issue
Block a user