mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-07 18:36:36 +00:00
Refactor CSS styles and ZenWorkspaces logic for improved UI consistency and functionality
This commit is contained in:
@@ -601,8 +601,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
this.selectEmptyTab();
|
||||
showed = true;
|
||||
} else {
|
||||
const currentTabUrl = currentTab.linkedBrowser?.currentURI.spec;
|
||||
if (currentTabUrl === 'about:newtab' || currentTabUrl === 'about:home') {
|
||||
if (currentTab.isEmpty) {
|
||||
this.selectEmptyTab();
|
||||
gBrowser.removeTab(currentTab);
|
||||
showed = true;
|
||||
|
Reference in New Issue
Block a user