Fixed context menu allowing at split essential tabs

This commit is contained in:
mr. m
2025-03-10 16:34:49 +01:00
parent ebc33723b0
commit 99faa45d94

View File

@@ -884,7 +884,7 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
return false;
}
for (const tab of window.gBrowser.selectedTabs) {
if (tab.splitView) {
if (tab.splitView || tab.hasAttribute('zen-empty-tab') || tab.hasAttribute('zen-essential')) {
return false;
}
}