Commit 3dafad00 authored by Felipe Gomes's avatar Felipe Gomes
Browse files

Bug 827976 - Don't trigger the creation of the hidden window on non-Mac...

Bug 827976 - Don't trigger the creation of the hidden window on non-Mac platforms from newInstall.js. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D21077

--HG--
extra : moz-landing-system : lando
parent 0335f944
......@@ -17,15 +17,16 @@ function init() {
let gHidden = [];
let gCollapsed = [];
let hiddenDoc = Services.appShell.hiddenDOMWindow.document;
function hideItem(id) {
let hiddenDoc = Services.appShell.hiddenDOMWindow.document;
let element = hiddenDoc.getElementById(id);
element.hidden = true;
gHidden.push(element);
}
function collapseItem(id) {
let hiddenDoc = Services.appShell.hiddenDOMWindow.document;
let element = hiddenDoc.getElementById(id);
element.collapsed = true;
gCollapsed.push(element);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment