fix immediately closed attribute detail after clicking e.g. "add label"

This commit is contained in:
zadam
2021-10-30 15:36:50 +02:00
parent 126f41ae5e
commit 311b98ffcb
2 changed files with 2 additions and 2 deletions

View File

@@ -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();