mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-29 06:13:32 +02:00
Fix ;<up> throwing an error
This commit is contained in:
@@ -1300,7 +1300,10 @@ function CommandLine() //{{{
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
|
|
||||||
history.select(/Up/.test(key), !/(Page|S-)/.test(key));
|
if (history)
|
||||||
|
history.select(/Up/.test(key), !/(Page|S-)/.test(key));
|
||||||
|
else
|
||||||
|
liberator.beep();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// user pressed TAB to get completions of a command
|
// user pressed TAB to get completions of a command
|
||||||
|
|||||||
Reference in New Issue
Block a user