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 d1076777c3
commit 8adf450fba

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();