Skip to content
Snippets Groups Projects
Commit b6b0a221 authored by Shpuld Shpuldson's avatar Shpuld Shpuldson
Browse files

please the linter

parent 7447f7c6
Branches
Tags
No related merge requests found
......@@ -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'
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment