mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
context menu on tab and "close all except for this tab"
This commit is contained in:
@@ -2,6 +2,10 @@ const $contextMenuContainer = $("#context-menu-container");
|
||||
|
||||
let dateContextMenuOpenedMs = 0;
|
||||
|
||||
/**
|
||||
* @param event - originating click event (used to get coordinates to display menu at position)
|
||||
* @param {object} contextMenu - needs to have getContextMenuItems() and selectContextMenuItem(e, cmd)
|
||||
*/
|
||||
async function initContextMenu(event, contextMenu) {
|
||||
event.stopPropagation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user