mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 12:35:28 +02:00
Fixed expand on hover sidebar
This commit is contained in:
parent
c5a7879c55
commit
f923078445
2 changed files with 16 additions and 3 deletions
|
@ -335,11 +335,13 @@ var ZenWorkspaces = new (class extends ZenMultiWindowFeature {
|
|||
|
||||
initIndicatorContextMenu() {
|
||||
const indicator = document.getElementById('zen-current-workspace-indicator');
|
||||
indicator.addEventListener('contextmenu', (event) => {
|
||||
const th = (event) => {
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
this.openWorkspacesDialog(event);
|
||||
});
|
||||
};
|
||||
indicator.addEventListener('contextmenu', th);
|
||||
indicator.addEventListener('click', th);
|
||||
}
|
||||
|
||||
handleTabBeforeClose(tab) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue