diff --git a/content/ui.js b/content/ui.js index 6241fbec..0d498ee4 100644 --- a/content/ui.js +++ b/content/ui.js @@ -764,7 +764,7 @@ function CommandLine() //{{{ // user pressed UP or DOWN arrow to cycle history completion else if (/^(|||||)$/.test(key)) { - function gotoHistoryItem(index) + function loadHistoryItem(index) { setCommand(inputHistory.get(historyIndex)); liberator.triggerCallback("change", currentExtendedMode, commandline.getCommand()); @@ -818,13 +818,13 @@ function CommandLine() //{{{ { if (inputHistory.get(historyIndex).indexOf(historyStart) == 0) { - gotoHistoryItem(historyIndex); + loadHistoryItem(historyIndex); break; } } else { - gotoHistoryItem(historyIndex); + loadHistoryItem(historyIndex); break; } }