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 Aug 26, 2024
1 parent 44f6216 commit 255c8bd
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

1 comment on commit 255c8bd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chromatic detects changes. Please review the changes on Chromatic.

Please sign in to comment.