mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 22:37:58 +01:00
Beep
This commit is contained in:
@@ -122,7 +122,7 @@ function CommandLine() //{{{
|
||||
while (true)
|
||||
{
|
||||
this.index += diff;
|
||||
if (this.index < 0 && this.index > this.store.length)
|
||||
if (this.index < 0 || this.index > this.store.length)
|
||||
{
|
||||
this.index = Math.max(0, Math.min(this.store.length, this.index));
|
||||
liberator.beep();
|
||||
|
||||
Reference in New Issue
Block a user