aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/static/scripts.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-08-30 10:57:40 +0300
committerGravatar Vitaly Takmazov2017-08-30 10:57:40 +0300
commit7f4d26ca547c8a614eb01178bae6f0c26d12bf07 (patch)
treead63120aa2291bcd7e5cac347c364fb4c2e267f8 /juick-www/src/main/static/scripts.js
parent8df5b345f0c2f32011e9550274d2001ff26d2c66 (diff)
www: textarea autosize and padding
Diffstat (limited to 'juick-www/src/main/static/scripts.js')
-rw-r--r--juick-www/src/main/static/scripts.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index a2f25d07..4001dbb6 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -810,6 +810,7 @@ ready(function () {
});
});
ta.style.minHeight = '70px';
+ autosize(ta);
ta.focus();
newMessageBlock.querySelector('a').addEventListener('click', function (e) {
attachMessagePhoto(e.target);