mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 21:30:53 +08:00
fix(attributes): attributes context menu no longer triggering
This commit is contained in:
parent
b7d118a12c
commit
27eed9b25e
1 changed files with 2 additions and 0 deletions
|
|
@ -198,6 +198,8 @@ export default class AttributeEditorWidget extends NoteContextAwareWidget implem
|
||||||
],
|
],
|
||||||
selectMenuItemHandler: ({ command }) => this.handleAddNewAttributeCommand(command)
|
selectMenuItemHandler: ({ command }) => this.handleAddNewAttributeCommand(command)
|
||||||
});
|
});
|
||||||
|
// Prevent automatic hiding of the context menu due to the button being clicked.
|
||||||
|
e.stopPropagation();
|
||||||
}
|
}
|
||||||
|
|
||||||
// triggered from keyboard shortcut
|
// triggered from keyboard shortcut
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue