diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-15 00:33:15 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-15 00:33:15 +0900 |
| commit | 058d308bb2d81071d0a42738b6f78d78a010aa2c (patch) | |
| tree | 96caf166b8f8ac2e7ff6385591f825c2c88d2abf /src/web | |
| parent | #169 (diff) | |
| download | sharkey-058d308bb2d81071d0a42738b6f78d78a010aa2c.tar.gz sharkey-058d308bb2d81071d0a42738b6f78d78a010aa2c.tar.bz2 sharkey-058d308bb2d81071d0a42738b6f78d78a010aa2c.zip | |
#168
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/desktop/tags/post-form.tag | 2 |
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 d4b93a6a18..dc80677d3d 100644 --- a/src/web/app/desktop/tags/post-form.tag +++ b/src/web/app/desktop/tags/post-form.tag @@ -16,7 +16,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) } onclick={ post }>{ wait ? '投稿中' : opts.reply ? '返信' : '投稿' } + <button class={ wait: wait } ref="submit" disabled={ wait || (refs.text.value.length == 0 && files.length == 0 && poll == null) } 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 }/> |