mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
fix: 投稿フォームの字数上限計算を実際の投稿内容に合わせる (#14466)
This commit is contained in:
parent
44f62160cb
commit
255c8bd1b9
@ -245,7 +245,7 @@ const submitText = computed((): string => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const textLength = computed((): number => {
|
const textLength = computed((): number => {
|
||||||
return (text.value + imeText.value).trim().length;
|
return (text.value + imeText.value).length;
|
||||||
});
|
});
|
||||||
|
|
||||||
const maxTextLength = computed((): number => {
|
const maxTextLength = computed((): number => {
|
||||||
|
Loading…
Reference in New Issue
Block a user