summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-12-31 12:12:24 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-12-31 12:12:24 +0900
commit1946ff8ed44ac399de82b6da3cba210443467792 (patch)
treeceb56453b999289ef34d198d7f856b1c8052e449 /src/client
parent:art: (diff)
downloadmisskey-1946ff8ed44ac399de82b6da3cba210443467792.tar.gz
misskey-1946ff8ed44ac399de82b6da3cba210443467792.tar.bz2
misskey-1946ff8ed44ac399de82b6da3cba210443467792.zip
Improve note auto collapse algorithm
Diffstat (limited to 'src/client')
-rw-r--r--src/client/components/note.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/components/note.vue b/src/client/components/note.vue
index 0724404f6f..d447a11b3b 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)
);