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:
@@ -126,6 +126,14 @@ function CommandLine() //{{{
|
|||||||
{
|
{
|
||||||
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();
|
||||||
|
// 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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user