mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 16:25:51 +01:00
fix(popup_editor): styles showing up when classic toolbar is shown
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user