1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 13:24:18 +01:00

rename local function gotoHistoryItem to loadHistoryItem

This commit is contained in:
Doug Kearns
2008-11-01 02:55:21 +00:00
parent 4efae05d03
commit 47f753d72c

View File

@@ -764,7 +764,7 @@ function CommandLine() //{{{
// user pressed UP or DOWN arrow to cycle history completion
else if (/^(<Up>|<Down>|<S-Up>|<S-Down>|<PageUp>|<PageDown>)$/.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;
}
}