diff options
| author | Henry Jameson <me@hjkos.com> | 2018-12-20 07:27:29 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-12-20 07:27:29 +0300 |
| commit | 5970bf4e856b6ced0bbbf53268411f95ce3e1341 (patch) | |
| tree | 72ade90f4915d4ff7485cb1dba6dd443caa90320 /src | |
| parent | afa2baec0cc57fd0beb3aac26048717569d5b116 (diff) | |
fixed incorrect height when empty text
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 46dcc8a6..94c75b6a 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -304,7 +304,7 @@ const PostStatusForm = { target.style.height = 'auto' target.style.height = `${target.scrollHeight - vertPadding}px` if (target.value === '') { - target.style.height = undefined + target.style.height = null } }, clearError () { |
