Skip to content

Build your personal knowledge base with Trilium Notes

explain checkFullHeight() due to missleading name

Tomd3e86acfaa83
diff --git a/src/public/app/widgets/note_detail.js b/src/public/app/widgets/note_detail.js
index b0bdd023ed..4c3ddd3a4b 100644
--- a/src/public/app/widgets/note_detail.js
+++ b/src/public/app/widgets/note_detail.js
@@ -147,6 +147,9 @@ export default class NoteDetailWidget extends NoteContextAwareWidget {
this.checkFullHeight();
}
+ /**
+ * sets full height of container that contains note content for a subset of note-types
+ */
checkFullHeight() {
// https://github.com/zadam/trilium/issues/2522
this.$widget.toggleClass("full-height",