From d3e86acfaa832f9e30f06d308de53d614584e038 Mon Sep 17 00:00:00 2001 From: Tom <7283497+thfrei@users.noreply.github.com> Date: Sun, 17 Apr 2022 22:01:33 +0200 Subject: [PATCH] explain checkFullHeight() due to missleading name --- src/public/app/widgets/note_detail.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/public/app/widgets/note_detail.js b/src/public/app/widgets/note_detail.js index b0bdd023e..4c3ddd3a4 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",