Bug 535104 - With the search bar removed from the toolbar, Ctrl+K still unhides the toolbar in full screen mode. r=rflint

This commit is contained in:
Dão Gottwald 2009-12-16 21:27:42 +01:00
parent c29fca907b
commit a47ca33ffe

View File

@ -3091,10 +3091,10 @@ const BrowserSearch = {
return;
}
#endif
if (window.fullScreen)
var searchBar = this.searchBar;
if (searchBar && window.fullScreen)
FullScreen.mouseoverToggle(true);
var searchBar = this.searchBar;
if (isElementVisible(searchBar)) {
searchBar.select();
searchBar.focus();