mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 21:59:59 +02:00
Refactor ZenWorkspaces to fix issue with workspace icon picker positioning
This commit is contained in:
parent
53317969bf
commit
d66477ba43
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||
const parent = browser.ownerGlobal;
|
||||
let tab = gBrowser.getTabForBrowser(browser);
|
||||
let workspaceID = tab.getAttribute('zen-workspace-id');
|
||||
if (!workspaceID) {
|
||||
if (!workspaceID || (tab.pinned && !this._shouldAllowPinTab)) {
|
||||
return;
|
||||
}
|
||||
let activeWorkspace = await parent.ZenWorkspaces.getActiveWorkspace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue