mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 05:35:29 +02:00
Add error handling to tab animation and refine empty tab selection logic
This commit is contained in:
parent
441ea2000b
commit
6d164511b4
2 changed files with 32 additions and 28 deletions
|
@ -628,7 +628,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||
(currentTab.isEmpty &&
|
||||
(currentTab.getAttribute('image') === gPageIcons[currentTabURL] || !currentTab.hasAttribute('image'))) ||
|
||||
currentTab.hasAttribute('zen-empty-tab') ||
|
||||
currentTab._possibleEmptyTab
|
||||
(currentTab._possibleEmptyTab && currentTab.isEmpty)
|
||||
) {
|
||||
this.selectEmptyTab();
|
||||
this._removedByStartupPage = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue