1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 05:38:00 +01:00

Fix quirk on :<Down>

This commit is contained in:
Kris Maglione
2008-12-08 10:30:12 -05:00
parent 1b863fa315
commit 09a944b926

View File

@@ -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;
}