Textarea is now focused when replying

merge-requests/332/head
Toromino 6 years ago
parent 32fd108e97
commit fd484a1a62

@ -31,6 +31,10 @@ const PostStatusForm = {
},
mounted () {
this.resize(this.$refs.textarea)
if (this.replyTo) {
this.$refs.textarea.focus()
}
},
data () {
const preset = this.$route.query.message

Loading…
Cancel
Save