mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 23:29:02 +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) {
|
setVisibility(visible: boolean) {
|
||||||
|
const $bodyItems = this.$modalBody.find("> div");
|
||||||
if (visible) {
|
if (visible) {
|
||||||
this.$modalBody.children().fadeIn();
|
$bodyItems.fadeIn();
|
||||||
this.$modalHeader.children().show();
|
this.$modalHeader.children().show();
|
||||||
} else {
|
} else {
|
||||||
this.$modalBody.children().hide();
|
$bodyItems.hide();
|
||||||
this.$modalHeader.children().hide();
|
this.$modalHeader.children().hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user