forked from AkkomaGang/akkoma-fe
please the linter
This commit is contained in:
parent
7447f7c64d
commit
b6b0a221c6
1 changed files with 1 additions and 2 deletions
|
@ -63,7 +63,6 @@ const PostStatusForm = {
|
||||||
files: []
|
files: []
|
||||||
}
|
}
|
||||||
this.$emit('posted')
|
this.$emit('posted')
|
||||||
|
|
||||||
let el = this.$el.querySelector('textarea')
|
let el = this.$el.querySelector('textarea')
|
||||||
el.style.height = '16px'
|
el.style.height = '16px'
|
||||||
},
|
},
|
||||||
|
@ -96,7 +95,7 @@ const PostStatusForm = {
|
||||||
resize (e) {
|
resize (e) {
|
||||||
e.target.style.height = 'auto'
|
e.target.style.height = 'auto'
|
||||||
e.target.style.height = `${e.target.scrollHeight - 10}px`
|
e.target.style.height = `${e.target.scrollHeight - 10}px`
|
||||||
if (e.target.value === "") {
|
if (e.target.value === '') {
|
||||||
e.target.style.height = '16px'
|
e.target.style.height = '16px'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue