summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-11-01 05:00:53 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-11-01 05:00:53 +0900
commit7600ce2591add1f73797e0937758ecfa37f5406f (patch)
tree619820b1726ec14cf0c5497508b4ebf7807cab88 /src
parentRefactor (diff)
downloadsharkey-7600ce2591add1f73797e0937758ecfa37f5406f.tar.gz
sharkey-7600ce2591add1f73797e0937758ecfa37f5406f.tar.bz2
sharkey-7600ce2591add1f73797e0937758ecfa37f5406f.zip
Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/web/app/ch/tags/channel.tag2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/app/ch/tags/channel.tag b/src/web/app/ch/tags/channel.tag
index 12a6b5a3b9..6ffa6bccf8 100644
--- a/src/web/app/ch/tags/channel.tag
+++ b/src/web/app/ch/tags/channel.tag
@@ -196,7 +196,7 @@
: undefined;
this.api('posts/create', {
- text: this.refs.text.value,
+ text: this.refs.text.value == '' ? undefined : this.refs.text.value,
media_ids: files,
reply_to_id: this.reply ? this.reply.id : undefined,
channel_id: this.channel.id