Bug 285647 Make forward and back button drop-down lists have same maximum length

r=mconnor a=asa
This commit is contained in:
cst@andrew.cmu.edu
2005-04-26 16:37:28 +00:00
parent 921dc5f1b2
commit 237e2e8afa
2 changed files with 2 additions and 2 deletions

View File

@@ -440,7 +440,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)