From 1946ff8ed44ac399de82b6da3cba210443467792 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 31 Dec 2020 12:12:24 +0900 Subject: [PATCH] Improve note auto collapse algorithm --- src/client/components/note.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/note.vue b/src/client/components/note.vue index 0724404f6..d447a11b3 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -277,7 +277,7 @@ export default defineComponent({ this.connection = os.stream; } - this.collapsed = this.appearNote.cw == null && this.appearNote.text && ( + this.collapsed = !this.detail && this.appearNote.cw == null && this.appearNote.text && ( (this.appearNote.text.split('\n').length > 9) || (this.appearNote.text.length > 500) );