Skip to content

Commit

Permalink
Replace three dots with ellipsis (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
NetOpWibby committed Sep 10, 2021
1 parent d0d2673 commit 03c16b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/ellipsify.js
Expand Up @@ -3,5 +3,5 @@ export default function ellipsify(str, len=8) {
return str;
}

return str.substr(0, len) + '...' + str.substr(str.length - len);
return str.substr(0, len) + '' + str.substr(str.length - len);
}

0 comments on commit 03c16b6

Please sign in to comment.