mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-06 12:55:45 +01:00
Fix beeping when no completions available.
This commit is contained in:
@@ -426,6 +426,8 @@ function CommandLine() //{{{
|
||||
// a previous context come in.
|
||||
if (idx < 0)
|
||||
idx = this.items.length - 1;
|
||||
if (this.items.length == 0)
|
||||
return;
|
||||
|
||||
this.selected = idx;
|
||||
this.completion = this.items[idx].text;
|
||||
@@ -449,7 +451,7 @@ function CommandLine() //{{{
|
||||
|
||||
while (this.tabs.length)
|
||||
{
|
||||
reverse = this.tabs.pop();
|
||||
reverse = this.tabs.shift();
|
||||
switch (this.wildtype.replace(/.*:/, ""))
|
||||
{
|
||||
case "":
|
||||
|
||||
Reference in New Issue
Block a user