1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 17:44:11 +01:00

Fix up/down history

This commit is contained in:
Martin Stubenschrott
2009-09-13 11:21:35 +02:00
parent ddfb66e3d8
commit cea762062a
2 changed files with 11 additions and 3 deletions

View File

@@ -230,11 +230,11 @@ function CommandLine() //{{{
}
let hist = this.store.get(this.index);
hist = (hist.value || hist);
// user pressed DOWN when there is no newer history item
if (hist == null)
if (!hist)
hist = this.original;
else
hist = (hist.value || hist);
if (!matchCurrent || hist.substr(0, this.original.length) == this.original)
{

View File

@@ -2,6 +2,14 @@ Continuous donations:
* Daniel Bainton (web hosting)
2009:
* James Davis
* Gregg Archer
* James Henderson
* Hiroshi Okada
* Imron Alston
* Luke Wagner
* Deepan Gandhi
* Guilherme Freitas
* Robert Johnston
* Jim Aragon
* Norio Sugimoto