Skip to content
Snippets Groups Projects
Commit 89ec32a1 authored by Tim Fesenko's avatar Tim Fesenko Committed by GitHub
Browse files

Merge pull request #1085 from steemit/1065-comments-tab-not-indicating

#1065 Comments tab not indicating  more, truncate more appropriately …
parents 6ad1333e 0d8b1bfd
No related branches found
No related tags found
No related merge requests found
...@@ -91,7 +91,7 @@ export default function extractContent(get, content) { ...@@ -91,7 +91,7 @@ export default function extractContent(get, content) {
desc = desc.substring(0, 140).trim(); desc = desc.substring(0, 140).trim();
const dotSpace = desc.lastIndexOf('. ') const dotSpace = desc.lastIndexOf('. ')
if(dotSpace > 80) { if(dotSpace > 80 && !get(content, 'depth') > 1) {
desc = desc.substring(0, dotSpace + 1) desc = desc.substring(0, dotSpace + 1)
} else { } else {
// Truncate, remove the last (likely partial) word (along with random punctuation), and add ellipses // Truncate, remove the last (likely partial) word (along with random punctuation), and add ellipses
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment