diff options
| author | Henry Jameson <me@hjkos.com> | 2021-06-12 19:54:03 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-06-12 19:54:34 +0300 |
| commit | 90a188f2c3c16b926c75bf4aa749633e6967e5a0 (patch) | |
| tree | 5683f45402f6f48570e214a1df8c9e9c6bfe1d68 /src/components/status_body | |
| parent | cd4455675024a3dfc8930184114d5f92438d0466 (diff) | |
cleanup
Diffstat (limited to 'src/components/status_body')
| -rw-r--r-- | src/components/status_body/status_body.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/status_body/status_body.js b/src/components/status_body/status_body.js index 14558aca..26491e1b 100644 --- a/src/components/status_body/status_body.js +++ b/src/components/status_body/status_body.js @@ -53,7 +53,7 @@ const StatusContent = { // Using max-height + overflow: auto for status components resulted in false positives // very often with japanese characters, and it was very annoying. tallStatus () { - const lengthScore = this.status.statusnet_html.split(/<p|<br/).length + this.status.text.length / 80 + const lengthScore = this.status.raw_html.split(/<p|<br/).length + this.status.text.length / 80 return lengthScore > 20 }, longSubject () { |
