mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +02:00
fix(popup_editor): styles showing up when classic toolbar is shown
This commit is contained in:
parent
b4921a20d8
commit
292646e14a
@ -135,11 +135,12 @@ export default class PopupEditorDialog extends Container<BasicWidget> {
|
||||
}
|
||||
|
||||
setVisibility(visible: boolean) {
|
||||
const $bodyItems = this.$modalBody.find("> div");
|
||||
if (visible) {
|
||||
this.$modalBody.children().fadeIn();
|
||||
$bodyItems.fadeIn();
|
||||
this.$modalHeader.children().show();
|
||||
} else {
|
||||
this.$modalBody.children().hide();
|
||||
$bodyItems.hide();
|
||||
this.$modalHeader.children().hide();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user