diff options
| author | momf <m0fqn090310@gmail.com> | 2018-06-05 23:00:03 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-05 23:00:03 +0900 |
| commit | 334dabc1de705d35cb65fb9c8d5b17cd697d502e (patch) | |
| tree | 40b52bfbbbc955e9a16acc76c675b02b87a623b0 /src | |
| parent | Update README.md (diff) | |
| download | misskey-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.vue | 2 |
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"> |