1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 21:58:00 +01:00

move global beep() command to a vimperator slot

This commit is contained in:
Doug Kearns
2007-07-02 10:29:02 +00:00
parent 0b8ecb0d71
commit abc8370a61
4 changed files with 19 additions and 19 deletions

View File

@@ -361,13 +361,13 @@ function CommandLine() //{{{
if (history_index <= -1)
{
history_index = 0;
beep();
vimperator.beep();
break;
}
if (history_index >= history.length + 1)
{
history_index = history.length;
beep();
vimperator.beep();
break;
}
@@ -377,7 +377,7 @@ function CommandLine() //{{{
return;
}
}
beep();
vimperator.beep();
}
/* user pressed TAB to get completions of a command */
@@ -416,7 +416,7 @@ function CommandLine() //{{{
if (completions.length == 0)
{
beep();
vimperator.beep();
// prevent tab from moving to the next field
event.preventDefault();
event.stopPropagation();