fix: Fixed workspace context menu not working, b=(no-bug), c=workspaces

This commit is contained in:
Slowlife01
2025-04-25 14:27:00 +07:00
parent 139e7a8b25
commit db5d318c74

View File

@@ -956,7 +956,7 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
}
handleContextMenuCommand(event) {
const target = event.target.closest('toolbarbutton');
const target = event.target.closest('menuitem');
if (!target) {
return;
}