summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormomf <m0fqn090310@gmail.com>2018-06-05 23:00:03 +0900
committerGitHub <noreply@github.com>2018-06-05 23:00:03 +0900
commit334dabc1de705d35cb65fb9c8d5b17cd697d502e (patch)
tree40b52bfbbbc955e9a16acc76c675b02b87a623b0 /src
parentUpdate README.md (diff)
downloadmisskey-334dabc1de705d35cb65fb9c8d5b17cd697d502e.tar.gz
misskey-334dabc1de705d35cb65fb9c8d5b17cd697d502e.tar.bz2
misskey-334dabc1de705d35cb65fb9c8d5b17cd697d502e.zip
fix: validate post's text on mobile client.
Diffstat (limited to 'src')
-rw-r--r--src/client/app/mobile/views/components/post-form.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue
index beacb1721b..2c7feb3f8e 100644
--- a/src/client/app/mobile/views/components/post-form.vue
+++ b/src/client/app/mobile/views/components/post-form.vue
@@ -5,7 +5,7 @@
<div>
<span class="text-count" :class="{ over: text.length > 1000 }">{{ 1000 - text.length }}</span>
<span class="geo" v-if="geo">%fa:map-marker-alt%</span>
- <button class="submit" :disabled="posting" @click="post">{{ submitText }}</button>
+ <button class="submit" :disabled="!canPost" @click="post">{{ submitText }}</button>
</div>
</header>
<div class="form">