mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 08:35:26 +00:00
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:
parent
1713ce9619
commit
2e9b2c5ce8
@ -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--)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user