summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-03-11 19:32:12 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-03-11 19:32:12 +0900
commit34495adbfccadeefa3212340fc4465d666b0bf82 (patch)
tree8974269dd73acaaa0c0b3ab3ad8ca458f854aab1 /src
parent:v: (diff)
downloadmisskey-34495adbfccadeefa3212340fc4465d666b0bf82.tar.gz
misskey-34495adbfccadeefa3212340fc4465d666b0bf82.tar.bz2
misskey-34495adbfccadeefa3212340fc4465d666b0bf82.zip
[Client] Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/web/app/desktop/tags/post-form.tag2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/desktop/tags/post-form.tag b/src/web/app/desktop/tags/post-form.tag
index c4c1214c75..bd7a3b94a1 100644
--- a/src/web/app/desktop/tags/post-form.tag
+++ b/src/web/app/desktop/tags/post-form.tag
@@ -485,7 +485,7 @@
this.save = () => {
const context = {
- text: this.refs.text.value,
+ text: this.refs.text.value == '' ? undefined : this.refs.text.value,
files: this.files,
poll: this.poll && this.refs.poll ? this.refs.poll.get() : undefined
};