Skip to content

Commit

Permalink
fix: 投稿フォームの字数上限計算を実際の投稿内容に合わせる
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective authored Aug 26, 2024
1 parent 44f6216 commit 366602f
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 @@ -245,7 +245,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 366602f

Please sign in to comment.