autosize minify

This commit is contained in:
troy
2021-10-29 20:22:06 +02:00
parent 9297e8d6bc
commit e3e2156dc1
2 changed files with 11 additions and 0 deletions

2
autosize.min.js vendored Normal file
View File

@@ -0,0 +1,2 @@
function autosize(tx){for(var i=0;i<tx.length;i++){tx[i].setAttribute("style","height:"+tx[i].scrollHeight+"px;overflow-y:hidden;");tx[i].addEventListener("input",OnInputAutoSize,false)}}function OnInputAutoSize(){this.style.height="auto";this.style.height=this.scrollHeight+"px"};
//# sourceMappingURL=autosize.min.js.map