1
0
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:
Kris Maglione
2009-01-10 15:02:40 -05:00
parent 050b701745
commit 1e9a7f42c6

View File

@@ -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 "":