please the linter
This commit is contained in:
parent
7447f7c64d
commit
b6b0a221c6
@ -63,7 +63,6 @@ const PostStatusForm = {
|
||||
files: []
|
||||
}
|
||||
this.$emit('posted')
|
||||
|
||||
let el = this.$el.querySelector('textarea')
|
||||
el.style.height = '16px'
|
||||
},
|
||||
@ -96,7 +95,7 @@ const PostStatusForm = {
|
||||
resize (e) {
|
||||
e.target.style.height = 'auto'
|
||||
e.target.style.height = `${e.target.scrollHeight - 10}px`
|
||||
if (e.target.value === "") {
|
||||
if (e.target.value === '') {
|
||||
e.target.style.height = '16px'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user