Fixed split view shortcut to split a single tab if other are hidden

This commit is contained in:
mauro-balades 2024-09-14 12:34:43 +02:00
parent 078f5ff992
commit 03514248e5

View file

@ -562,7 +562,7 @@ var gZenViewSplitter = new (class {
this.unsplitCurrentView(); this.unsplitCurrentView();
return; return;
} }
const tabs = gBrowser.tabs; const tabs = gBrowser.visibleTabs;
if (tabs.length < 2) { if (tabs.length < 2) {
return; return;
} }