mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-07 10:26:36 +00:00
Fixed session restore identifying the empty tab as a normal one
This commit is contained in:
@@ -626,7 +626,8 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
||||
if (
|
||||
(currentTab.isEmpty &&
|
||||
(currentTab.getAttribute('image') === gPageIcons[currentTabURL] || !currentTab.hasAttribute('image'))) ||
|
||||
currentTab.hasAttribute('zen-empty-tab')
|
||||
currentTab.hasAttribute('zen-empty-tab') ||
|
||||
currentTab._possibleEmptyTab
|
||||
) {
|
||||
this.selectEmptyTab();
|
||||
this._removedByStartupPage = true;
|
||||
|
Reference in New Issue
Block a user