fix js error

pull/493/head
Pete Matsyburka 5 months ago
parent f7dfc0b2ed
commit 2a031c14c8

@ -151,8 +151,10 @@ export default {
resizeTextarea () { resizeTextarea () {
const textarea = this.$refs.textarea const textarea = this.$refs.textarea
textarea.style.height = 'auto' if (textarea) {
textarea.style.height = Math.min(250, textarea.scrollHeight) + 'px' textarea.style.height = 'auto'
textarea.style.height = Math.min(250, textarea.scrollHeight) + 'px'
}
}, },
toggleTextArea () { toggleTextArea () {
this.isTextArea = true this.isTextArea = true

Loading…
Cancel
Save