diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2018-06-05 23:03:26 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-05 23:03:26 +0900 |
| commit | 2d2056f2bd7b5272952e088eb8955bb5095f151b (patch) | |
| tree | 40b52bfbbbc955e9a16acc76c675b02b87a623b0 /src | |
| parent | Update README.md (diff) | |
| parent | fix: validate post's text on mobile client. (diff) | |
| download | misskey-2d2056f2bd7b5272952e088eb8955bb5095f151b.tar.gz misskey-2d2056f2bd7b5272952e088eb8955bb5095f151b.tar.bz2 misskey-2d2056f2bd7b5272952e088eb8955bb5095f151b.zip | |
Merge pull request #1675 from 2vg/patch-1
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"> |