зеркало из https://github.com/mozilla/gecko-dev.git
correct typo. no need to PP here. 80 column fix. untabify.
This commit is contained in:
Родитель
559d416186
Коммит
94a4a7af7d
|
@ -287,13 +287,9 @@ function Startup()
|
|||
var sidebarSplitter;
|
||||
if (window.opener) {
|
||||
var openerSidebarBox = window.opener.document.getElementById("sidebar-box");
|
||||
#ifdef XP_MACOSX
|
||||
// The opener can be the hidden window too, if we're coming from the state where
|
||||
// no windows are open, and the hidden window has no sidebar box.
|
||||
// The opener can be the hidden window too, if we're coming from the state
|
||||
// where no windows are open, and the hidden window has no sidebar box.
|
||||
if (openerSidebarBox && !openerSidebarBox.hidden) {
|
||||
#else
|
||||
if (!openSidebarBox.hidden) {
|
||||
#endif
|
||||
var sidebarBox = document.getElementById("sidebar-box");
|
||||
var sidebarTitle = document.getElementById("sidebar-title");
|
||||
sidebarTitle.setAttribute("value", window.opener.document.getElementById("sidebar-title").getAttribute("value"));
|
||||
|
|
Загрузка…
Ссылка в новой задаче