summaryrefslogtreecommitdiffstats
path: root/dist/autosize.js
diff options
context:
space:
mode:
authorJack Moore <hello@jacklmoore.com>2017-07-12 19:38:25 -0400
committerJack Moore <hello@jacklmoore.com>2017-07-12 19:38:25 -0400
commit113f1b345868901619d4b01cda02b09aa1690ebd (patch)
tree75045dbe71884780b3a5061a69b502f285ded127 /dist/autosize.js
parent5284a460d160bd11fda219941b20eb2a82155294 (diff)
downloadautosize-master.zip
autosize-master.tar.gz
autosize-master.tar.bz2
Changed how Autosize determines the inital height. Fixes #336.HEAD4.0.0origin/masterorigin/HEADmaster
Diffstat (limited to 'dist/autosize.js')
-rw-r--r--dist/autosize.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/autosize.js b/dist/autosize.js
index f844dfb..e0a21c7 100644
--- a/dist/autosize.js
+++ b/dist/autosize.js
@@ -1,5 +1,5 @@
/*!
- Autosize 3.0.21
+ Autosize 4.0.0
license: MIT
http://www.jacklmoore.com/autosize
*/
@@ -126,7 +126,7 @@
var overflows = getParentOverflows(ta);
var docTop = document.documentElement && document.documentElement.scrollTop; // Needed for Mobile IE (ticket #240)
- ta.style.height = 'auto';
+ ta.style.height = '';
var endHeight = ta.scrollHeight + heightOffset;