mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
fix error after confirming mention relation name
This commit is contained in:
parent
32c88c7481
commit
5e75d2380a
@ -351,7 +351,9 @@ export default class AttributeEditorWidget extends TabAwareWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.$errors.is(":visible")) {
|
if (this.$errors.is(":visible")) {
|
||||||
this.$errors.slideUp();
|
// using .hide() instead of .slideUp() since this will also hide the error after confirming
|
||||||
|
// mention for relation name which suits up. When using.slideUp() error will appear and the slideUp which is weird
|
||||||
|
this.$errors.hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user