Bug 701992 - Hide sidebar when entering DOM full-screen mode. r=dao

This commit is contained in:
Chris Pearce 2011-12-05 15:06:08 +13:00
parent a4037664fc
commit 4328c04240

View File

@ -3969,6 +3969,10 @@ var FullScreen = {
return;
}
// Ensure the sidebar is hidden.
if (!document.getElementById("sidebar-box").hidden)
toggleSidebar();
if (gFindBarInitialized)
gFindBar.close();