close #63
This commit is contained in:
1 parent
cbad4a55b9
commit
c41fe7b110
3 files changed
+105
-10
No files matched your search
@@ -4,8 +4,9 @@ var editor = {};
|
||||
|
||||
editor.textareaAutoGrow = function() {
|
||||
let autogrow = function() {
|
||||
this.style.height = '5px';
|
||||
this.style.height = this.scrollHeight + 'px';
|
||||
console.log(this.style.height)
|
||||
this.style.height = 'auto';
|
||||
this.style.height = (this.scrollHeight) + 'px';
|
||||
}
|
||||
|
||||
let textareas = document.getElementsByTagName('textarea');
|
||||
|
||||
Reference in new issue
Block a user