From 1b863fa315703a5de2499a97e97d3ee262affe1b Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 8 Dec 2008 10:23:31 -0500 Subject: [PATCH] Beep --- common/content/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/ui.js b/common/content/ui.js index ee7071d1..ace4f8b3 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -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();