mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 14:55:50 +01:00
fix(popup_editor): use cmd on macos
This commit is contained in:
@@ -713,7 +713,7 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
||||
});
|
||||
} else {
|
||||
this.$tree.on("contextmenu", ".fancytree-node", (e) => {
|
||||
if (!e.ctrlKey) {
|
||||
if (!utils.isCtrlKey(e)) {
|
||||
this.showContextMenu(e);
|
||||
} else {
|
||||
const node = $.ui.fancytree.getNode(e as unknown as Event);
|
||||
|
||||
Reference in New Issue
Block a user