explain checkFullHeight() due to missleading name

This commit is contained in:
Tom 2022-04-17 22:01:33 +02:00
parent 536643ed3b
commit d3e86acfaa

View file

@ -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",