Merge branch 'feature/focus_reply_form' into 'develop'

Focus textarea when clicking "reply"

See merge request pleroma/pleroma-fe!298
This commit is contained in:
lambda 2018-08-12 10:48:08 +00:00
commit db6ff4824a

View File

@ -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