diff --git a/mozilla/browser/base/content/browser.js b/mozilla/browser/base/content/browser.js index 8a048308abb..0124847807a 100644 --- a/mozilla/browser/base/content/browser.js +++ b/mozilla/browser/base/content/browser.js @@ -2437,6 +2437,7 @@ function toggleAffectedChrome(aHide) gChromeState.notificationsOpen = !notificationBox.notificationsHidden; notificationBox.notificationsHidden = aHide; + document.getElementById("sidebar").setAttribute("src", "about:blank"); var statusbar = document.getElementById("status-bar"); gChromeState.statusbarOpen = !statusbar.hidden; statusbar.hidden = aHide; @@ -4497,6 +4498,7 @@ function toggleSidebar(commandID, forceOpen) { sidebarBroadcaster.removeAttribute("checked"); sidebarBox.setAttribute("sidebarcommand", ""); sidebarTitle.value = ""; + sidebar.setAttribute("src", "about:blank"); sidebarBox.hidden = true; sidebarSplitter.hidden = true; content.focus();