Bug 143791 menuseparator in Go menu should stay hidden for tabbed mode

patch by neil@parkwaycc.co.uk r=timeless sr=jag
This commit is contained in:
timeless%mac.com 2006-09-14 06:03:10 +00:00
parent 1713ce9619
commit 2e9b2c5ce8

View File

@ -82,7 +82,7 @@ function FillHistoryMenu(aParent, aMenu)
}
break;
case "go":
if (count > 0) aParent.lastChild.removeAttribute( "hidden" );
aParent.lastChild.hidden = (count == 0);
end = count > MAX_HISTORY_MENU_ITEMS ? count - MAX_HISTORY_MENU_ITEMS : 0;
for (j = count - 1; j >= end; j--)
{