Skip to content

Commit

Permalink
Fixed tab context menu not working when changing tab to a different w…
Browse files Browse the repository at this point in the history
…orkspace (closes #2963)
  • Loading branch information
mr-cheff committed Dec 21, 2024
1 parent 1f2b08f commit 1e92783
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/browser/base/zen-components/ZenWorkspaces.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {

async changeTabWorkspace(workspaceID) {
const tabs = TabContextMenu.contextTab.multiselected ? gBrowser.selectedTabs : [TabContextMenu.contextTab];
document.getElementById('tabContextMenu').hidePopup();
const previousWorkspaceID = document.documentElement.getAttribute('zen-workspace-id');
for (let tab of tabs) {
tab.setAttribute('zen-workspace-id', workspaceID);
Expand Down

0 comments on commit 1e92783

Please sign in to comment.