diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-11-01 05:00:53 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-11-01 05:00:53 +0900 |
| commit | 7600ce2591add1f73797e0937758ecfa37f5406f (patch) | |
| tree | 619820b1726ec14cf0c5497508b4ebf7807cab88 /src | |
| parent | Refactor (diff) | |
| download | sharkey-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.tag | 2 |
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 |