diff --git a/common/content/ui.js b/common/content/ui.js index ad138466..7a4820f5 100755 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -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