summaryrefslogtreecommitdiff
path: root/src/web/app/mobile/views
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-02-23 05:43:19 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-02-23 05:43:19 +0900
commit28c9458b85b5c8ba38029622484dff00d3283e55 (patch)
treef6f8ebfc81a6e638ff18eb4035654cc57379c955 /src/web/app/mobile/views
parentFix bug (diff)
downloadmisskey-28c9458b85b5c8ba38029622484dff00d3283e55.tar.gz
misskey-28c9458b85b5c8ba38029622484dff00d3283e55.tar.bz2
misskey-28c9458b85b5c8ba38029622484dff00d3283e55.zip
:v:
Diffstat (limited to 'src/web/app/mobile/views')
-rw-r--r--src/web/app/mobile/views/components/post-form.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/web/app/mobile/views/components/post-form.vue b/src/web/app/mobile/views/components/post-form.vue
index 3e8206c92c..7a6eb77419 100644
--- a/src/web/app/mobile/views/components/post-form.vue
+++ b/src/web/app/mobile/views/components/post-form.vue
@@ -49,10 +49,13 @@ export default Vue.extend({
},
mounted() {
this.$nextTick(() => {
- (this.$refs.text as any).focus();
+ this.focus();
});
},
methods: {
+ focus() {
+ (this.$refs.text as any).focus();
+ },
chooseFile() {
(this.$refs.file as any).click();
},