Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(popup_editor): styles showing up when classic toolbar is shown
Elian Doran292646e14abb
diff --git a/apps/client/src/widgets/dialogs/popup_editor.ts b/apps/client/src/widgets/dialogs/popup_editor.tsindex 4e02613db1..fd3109e1ce 100644--- a/apps/client/src/widgets/dialogs/popup_editor.ts+++ b/apps/client/src/widgets/dialogs/popup_editor.ts@@ -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();}}