From 09a944b9264b6976c3ac81d1dc1dd8752e66b5b2 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 8 Dec 2008 10:30:12 -0500 Subject: [PATCH] Fix quirk on : --- common/content/ui.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/content/ui.js b/common/content/ui.js index ace4f8b3..a39b0e6f 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -126,6 +126,14 @@ function CommandLine() //{{{ { this.index = Math.max(0, Math.min(this.store.length, this.index)); liberator.beep(); + // I don't know why this kludge is needed. It + // prevents the caret from moving to the end of + // the input field. + if (this.input.value == "") + { + this.input.value = " "; + this.input.value = ""; + } break; }