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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user