make location bar showing work properly.

This commit is contained in:
blakeross%telocity.com 2002-04-05 07:41:32 +00:00
parent 4f3dca1051
commit 481e4a3df7

View File

@ -1581,11 +1581,11 @@ function checkForDefaultBrowser()
function ShowAndSelectContentsOfURLBar()
{
var navBar = document.getElementById("nav-bar");
var navBar = document.getElementById("LocationToolbar");
// If it's hidden, show it.
if (navBar.getAttribute("hidden") == "true")
goToggleToolbar('nav-bar','cmd_viewnavbar');
goToggleToolbar('LocationToolbar','cmd_viewlocationbar');
if (gURLBar.value)
gURLBar.select();