Update Linux release build workflow and improve package installation; add checks for window.docShell in ZenUIManager

This commit is contained in:
mr. M
2025-01-06 20:01:52 +01:00
parent 0333413505
commit 6c4af27ec6
4 changed files with 11 additions and 6 deletions

View File

@@ -256,7 +256,9 @@ var gZenVerticalTabsManager = {
try {
this._updateMaxWidth();
window.docShell.treeOwner.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIAppWindow).rollupAllPopups();
if (window.docShell) {
window.docShell.treeOwner.QueryInterface(Ci.nsIInterfaceRequestor).getInterface(Ci.nsIAppWindow).rollupAllPopups();
}
const topButtons = document.getElementById('zen-sidebar-top-buttons');
const isCompactMode = this._prefsCompactMode && !forCustomizableMode;