We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 9dd58ce commit 5259fa7Copy full SHA for 5259fa7
src/browser/base/content/ZenUIManager.mjs
@@ -24,9 +24,9 @@ var gZenUIManager = {
24
)
25
).observe(document.getElementById('navigator-toolbox'));
26
27
- window.addEventListener('DOMContentLoaded', () => {
+ SessionStore.promiseAllWindowsRestored.then(() => {
28
this._hasLoadedDOM = true;
29
- }, { once: true });
+ });
30
31
window.addEventListener('TabClose', this.updateTabsToolbar.bind(this));
32
},
@@ -218,7 +218,7 @@ var gZenVerticalTabsManager = {
218
219
220
animateTab(aTab) {
221
- if (!gZenUIManager.motion || !aTab || !this._hasLoadedDOM) {
+ if (!gZenUIManager.motion || !aTab || !gZenUIManager._hasLoadedDOM) {
222
return;
223
}
224
// get next visible tab
0 commit comments