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