FIxed opening bookmarks not inheriting

This commit is contained in:
mr. m
2025-02-25 13:36:22 +01:00
parent 3358d0e3d7
commit a5051e116a
2 changed files with 23 additions and 1 deletions

View File

@@ -2311,4 +2311,17 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
}
gBrowser.selectedTab = tab;
}
getDefaultContainer() {
if (!this.workspaceEnabled) {
return 0;
}
const workspaces = this._workspaceCache;
if (!workspaces) {
return 0;
}
const activeWorkspace = this.activeWorkspace;
const workspace = workspaces.workspaces.find((workspace) => workspace.uuid === activeWorkspace);
return workspace.containerTabId;
}
})();