Textarea is now focused when replying
This commit is contained in:
parent
32fd108e97
commit
fd484a1a62
@ -31,6 +31,10 @@ const PostStatusForm = {
|
|||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
this.resize(this.$refs.textarea)
|
this.resize(this.$refs.textarea)
|
||||||
|
|
||||||
|
if (this.replyTo) {
|
||||||
|
this.$refs.textarea.focus()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
const preset = this.$route.query.message
|
const preset = this.$route.query.message
|
||||||
|
Loading…
Reference in New Issue
Block a user