forked from ZenBrowserMirrors/zen-desktop
Fix tab drag logic to allow dragging the last opened tab
This commit is contained in:
parent
9ee4212060
commit
ec1c861b13
1 changed files with 2 additions and 1 deletions
|
@ -189,7 +189,8 @@ class ZenViewSplitter extends ZenDOMOperatedFeature {
|
|||
!this._lastOpenedTab ||
|
||||
(this._lastOpenedTab &&
|
||||
this._lastOpenedTab.getAttribute('zen-workspace-id') !== draggedTab.getAttribute('zen-workspace-id') &&
|
||||
!this._lastOpenedTab.hasAttribute('zen-essential'))
|
||||
!this._lastOpenedTab.hasAttribute('zen-essential')) ||
|
||||
draggedTab === this._lastOpenedTab
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue