Bug 289760 Make forward button dropdown list have same max length as back button dropdown
r+sr=neil a=asa git-svn-id: svn://10.0.0.236/trunk@211504 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a7f603709e
commit
c6d6372c7b
@ -75,7 +75,7 @@ function FillHistoryMenu(aParent, aMenu)
|
||||
case "forward":
|
||||
end = ((count-index) > MAX_HISTORY_MENU_ITEMS) ? index + MAX_HISTORY_MENU_ITEMS : count;
|
||||
if ((index + 1) >= end) return false;
|
||||
for (j = index + 1; j < end; j++)
|
||||
for (j = index + 1; j <= end; j++)
|
||||
{
|
||||
entry = sessionHistory.getEntryAtIndex(j, false);
|
||||
if (entry)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user