mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Backed out changeset e0110ab48587
This commit is contained in:
parent
1e3c93a06e
commit
2b874a847f
@ -962,13 +962,14 @@
|
||||
// In full screen mode, only bother making the location bar visible
|
||||
// if the tab is a blank one.
|
||||
oldBrowser._urlbarFocused = (gURLBar && gURLBar.focused);
|
||||
if (newBrowser._urlbarFocused && gURLBar && !window.fullScreen) {
|
||||
gURLBar.focus();
|
||||
break;
|
||||
}
|
||||
if (isTabEmpty(this.mCurrentTab)) {
|
||||
focusAndSelectUrlBar();
|
||||
break;
|
||||
if (newBrowser._urlbarFocused && gURLBar) {
|
||||
if (!window.fullScreen) {
|
||||
gURLBar.focus();
|
||||
break;
|
||||
} else if (isTabEmpty(this.mCurrentTab)) {
|
||||
focusAndSelectUrlBar();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// If the find bar is focused, keep it focused.
|
||||
|
Loading…
Reference in New Issue
Block a user