summaryrefslogtreecommitdiff
path: root/src/client/app/mobile/views/components/post-form.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/mobile/views/components/post-form.vue')
-rw-r--r--src/client/app/mobile/views/components/post-form.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue
index 61f0462659..beacb1721b 100644
--- a/src/client/app/mobile/views/components/post-form.vue
+++ b/src/client/app/mobile/views/components/post-form.vue
@@ -80,13 +80,15 @@ export default Vue.extend({
},
placeholder(): string {
- const x = [
+ const xs = [
'%i18n:common.note-placeholders.a%',
'%i18n:common.note-placeholders.b%',
'%i18n:common.note-placeholders.c%',
'%i18n:common.note-placeholders.d%',
- '%i18n:common.note-placeholders.e%'
- ][Math.floor(Math.random() * 5)];
+ '%i18n:common.note-placeholders.e%',
+ '%i18n:common.note-placeholders.f%'
+ ];
+ const x = xs[Math.floor(Math.random() * xs.length)];
return this.renote
? '%i18n:@quote-placeholder%'