mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 14:34:11 +01:00
Fix up/down history
This commit is contained in:
@@ -230,11 +230,11 @@ function CommandLine() //{{{
|
|||||||
}
|
}
|
||||||
|
|
||||||
let hist = this.store.get(this.index);
|
let hist = this.store.get(this.index);
|
||||||
hist = (hist.value || hist);
|
|
||||||
|
|
||||||
// user pressed DOWN when there is no newer history item
|
// user pressed DOWN when there is no newer history item
|
||||||
if (hist == null)
|
if (!hist)
|
||||||
hist = this.original;
|
hist = this.original;
|
||||||
|
else
|
||||||
|
hist = (hist.value || hist);
|
||||||
|
|
||||||
if (!matchCurrent || hist.substr(0, this.original.length) == this.original)
|
if (!matchCurrent || hist.substr(0, this.original.length) == this.original)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,6 +2,14 @@ Continuous donations:
|
|||||||
* Daniel Bainton (web hosting)
|
* Daniel Bainton (web hosting)
|
||||||
|
|
||||||
2009:
|
2009:
|
||||||
|
* James Davis
|
||||||
|
* Gregg Archer
|
||||||
|
* James Henderson
|
||||||
|
* Hiroshi Okada
|
||||||
|
* Imron Alston
|
||||||
|
* Luke Wagner
|
||||||
|
* Deepan Gandhi
|
||||||
|
* Guilherme Freitas
|
||||||
* Robert Johnston
|
* Robert Johnston
|
||||||
* Jim Aragon
|
* Jim Aragon
|
||||||
* Norio Sugimoto
|
* Norio Sugimoto
|
||||||
|
|||||||
Reference in New Issue
Block a user