From 34495adbfccadeefa3212340fc4465d666b0bf82 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 11 Mar 2017 19:32:12 +0900 Subject: [PATCH] [Client] Fix bug --- src/web/app/desktop/tags/post-form.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/desktop/tags/post-form.tag b/src/web/app/desktop/tags/post-form.tag index c4c1214c7..bd7a3b94a 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 };