mirror of
https://github.com/zadam/trilium.git
synced 2025-11-14 17:25:52 +01:00
fix immediately closed attribute detail after clicking e.g. "add label"
This commit is contained in:
@@ -97,7 +97,7 @@ class ContextMenu {
|
||||
.append($link)
|
||||
// important to use mousedown instead of click since the former does not change focus
|
||||
// (especially important for focused text for spell check)
|
||||
.on('mousedown', (e) => {
|
||||
.on('mousedown', e => {
|
||||
e.stopPropagation();
|
||||
|
||||
this.hide();
|
||||
|
||||
Reference in New Issue
Block a user