mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-09 10:29:57 +00:00
parent
bc30a8bd82
commit
5a9546ec0a
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ const characterCount = computed(() => {
|
|||
length -= fullMatch.length - (before + username).length - 1 // - 1 for the @
|
||||
|
||||
if (draft.value.mentions) {
|
||||
// + 1 is needed as mentions always need a space seperator at the end
|
||||
// + 1 is needed as mentions always need a space separator at the end
|
||||
length += draft.value.mentions.map((mention) => {
|
||||
const [handle] = mention.split('@')
|
||||
return `@${handle}`
|
||||
|
|
Loading…
Reference in a new issue