mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
basic opening and switching tabs
This commit is contained in:
@@ -36,6 +36,8 @@ async function initContextMenu(event, contextMenu) {
|
||||
|
||||
contextMenu.selectContextMenuItem(e, cmd);
|
||||
|
||||
hideContextMenu();
|
||||
|
||||
// it's important to stop the propagation especially for sub-menus, otherwise the event
|
||||
// might be handled again by top-level menu
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user