Bug 1390273 - Initialize the Sync UI in popup windows. r?Gijs
MozReview-Commit-ID: IDhhXgIrwrB
--- a/browser/base/content/browser-sync.js
+++ b/browser/base/content/browser-sync.js
@@ -85,18 +85,17 @@ var gSync = {
// we open the window. We can avoid a repaint.
if (state.status != UIState.STATUS_NOT_CONFIGURED) {
this.updateAllUI(state);
}
}
},
init() {
- // Bail out if we're already initialized or for pop-up windows.
- if (this._initialized || !window.toolbar.visible) {
+ if (this._initialized) {
return;
}
for (let topic of this._obs) {
Services.obs.addObserver(this, topic, true);
}
this._generateNodeGetters();