mirror of
https://github.com/zen-browser/desktop.git
synced 2025-09-05 19:08:18 +00:00
Fixed registring the empty tab as last selected on split views
This commit is contained in:
@@ -127,7 +127,7 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
|
||||
*/
|
||||
onTabSelect(event) {
|
||||
const previousTab = event.detail.previousTab;
|
||||
if (previousTab) {
|
||||
if (previousTab && !previousTab.hasAttribute('zen-empty-tab')) {
|
||||
this._lastOpenedTab = previousTab;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user