mirror of
https://github.com/zadam/trilium.git
synced 2024-09-20 23:55:59 +08: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")) {
|
||||
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…
Reference in a new issue