diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-12-31 11:45:58 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-12-31 11:45:58 +0900 |
| commit | a03702d2bd095342a2995259cc23fa4721e14f1c (patch) | |
| tree | c241a4da5729434fc3aa5403b8e4adb080317e48 /src/client | |
| parent | Update vue :rocket: (diff) | |
| download | sharkey-a03702d2bd095342a2995259cc23fa4721e14f1c.tar.gz sharkey-a03702d2bd095342a2995259cc23fa4721e14f1c.tar.bz2 sharkey-a03702d2bd095342a2995259cc23fa4721e14f1c.zip | |
Better note auto collapse algorithm
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/components/note.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/components/note.vue b/src/client/components/note.vue index 556fca1a1a..0724404f6f 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.text && ( + this.collapsed = this.appearNote.cw == null && this.appearNote.text && ( (this.appearNote.text.split('\n').length > 9) || (this.appearNote.text.length > 500) ); |