Skip to content

Commit

Permalink
fix: 投稿フォームの字数上限計算を実際の投稿内容に合わせる (misskey-dev#14466)
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective authored and adzukimame committed Oct 19, 2024
1 parent 9c56768 commit 5668f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/MkPostForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const submitText = computed((): string => {
});

const textLength = computed((): number => {
return (text.value + imeText.value).trim().length;
return (text.value + imeText.value).length;
});

const maxTextLength = computed((): number => {
Expand Down

0 comments on commit 5668f43

Please sign in to comment.