mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
make location bar showing work properly.
This commit is contained in:
parent
4f3dca1051
commit
481e4a3df7
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user