mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-06 18:15:52 +01:00
Fix ;<up> throwing an error
This commit is contained in:
@@ -1300,7 +1300,10 @@ function CommandLine() //{{{
|
||||
event.preventDefault();
|
||||
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;
|
||||
}
|
||||
// user pressed TAB to get completions of a command
|
||||
|
||||
Reference in New Issue
Block a user