summaryrefslogtreecommitdiff
path: root/src/web/app
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-18 18:35:43 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-18 18:35:43 +0900
commit651cceff44d2d784fd60180e7eafb0d86e35824c (patch)
treef31207c447ca7266329af3d604d3955ccc985a46 /src/web/app
parentMerge pull request #179 from syuilo/no-ls (diff)
downloadsharkey-651cceff44d2d784fd60180e7eafb0d86e35824c.tar.gz
sharkey-651cceff44d2d784fd60180e7eafb0d86e35824c.tar.bz2
sharkey-651cceff44d2d784fd60180e7eafb0d86e35824c.zip
[Client] Fix bug
Diffstat (limited to 'src/web/app')
-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 285f22fcf8..bc22f5bac2 100644
--- a/src/web/app/desktop/tags/post-form.tag
+++ b/src/web/app/desktop/tags/post-form.tag
@@ -18,7 +18,7 @@
<button class="cat" title="Insert The Cat" onclick={ cat }><i class="fa fa-smile-o"></i></button>
<button class="poll" title="投票を作成" onclick={ addPoll }><i class="fa fa-pie-chart"></i></button>
<p class="text-count { over: refs.text.value.length > 1000 }">のこり{ 1000 - refs.text.value.length }文字</p>
- <button class={ wait: wait } ref="submit" disabled={ wait || (refs.text.value.length == 0 && files.length == 0 && poll == null) } onclick={ post }>{ wait ? '投稿中' : opts.reply ? '返信' : '投稿' }
+ <button class={ wait: wait } ref="submit" disabled={ wait || (refs.text.value.length == 0 && files.length == 0 && !poll) } onclick={ post }>{ wait ? '投稿中' : opts.reply ? '返信' : '投稿' }
<mk-ellipsis if={ wait }></mk-ellipsis>
</button>
<input ref="file" type="file" accept="image/*" multiple="multiple" tabindex="-1" onchange={ changeFile }/>