diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-23 05:43:19 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-23 05:43:19 +0900 |
| commit | 28c9458b85b5c8ba38029622484dff00d3283e55 (patch) | |
| tree | f6f8ebfc81a6e638ff18eb4035654cc57379c955 /src/web/app/mobile/views | |
| parent | Fix bug (diff) | |
| download | misskey-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.vue | 5 |
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(); }, |