1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 22:37:58 +01:00
This commit is contained in:
Kris Maglione
2008-12-08 10:23:31 -05:00
parent d1c6283bc1
commit 1b863fa315

View File

@@ -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();