mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-08 10:56:36 +00:00
Fixed common issues with workspaces and the new empty tab
This commit is contained in:
@@ -631,6 +631,7 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
|
||||
* @param {string} gridType - The type of grid layout.
|
||||
*/
|
||||
splitTabs(tabs, gridType) {
|
||||
tabs = tabs.filter((tab) => !tab.hasAttribute("zen-empty-tab"));
|
||||
if (tabs.length < 2) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user