Skip to content

Commit

Permalink
1.16.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Moore committed May 31, 2013
1 parent 55cf801 commit f2999a3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion autosize.jquery.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"textarea",
"ui"
],
"version": "1.16.10",
"version": "1.16.11",
"author": {
"name": "Jack Moore",
"url": "http://www.jacklmoore.com",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-autosize",
"version": "1.16.10",
"version": "1.16.11",
"main": "./jquery.autosize.js",
"dependencies": {
"jquery": ">=1.7"
Expand Down
6 changes: 3 additions & 3 deletions jquery.autosize-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions jquery.autosize.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/*!
jQuery Autosize v1.16.10
(c) 2013 Jack Moore - jacklmoore.com
updated: 2013-05-30
license: http://www.opensource.org/licenses/mit-license.php
*/

/*!
jQuery Autosize v1.16.11
(c) 2013 Jack Moore - jacklmoore.com
updated: 2013-05-31
license: http://www.opensource.org/licenses/mit-license.php
*/

(function ($) {
var
Expand Down Expand Up @@ -74,6 +73,7 @@
boxOffset = $ta.outerHeight() - $ta.height();
}

// IE8 and lower return 'auto', which parses to NaN, if no min-height is set.
minHeight = Math.max(parseInt($ta.css('minHeight'), 10) - boxOffset || 0, $ta.height());

resize = ($ta.css('resize') === 'none' || $ta.css('resize') === 'vertical') ? 'none' : 'horizontal';
Expand Down
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Small jQuery plugin to allow dynamic resizing of textarea height, so that it gro

## Changelog

### v1.16.11 - 2013/5/31
* Fixed a default height issue in IE8.

### v1.16.10 - 2013/5/30
* Dropped scrollHeight for scrollTop. This fixed a height problem relating to padding. (Fixes #70)
* Re-added workaround to get Chrome to reflow text after hiding overflow.
Expand Down

0 comments on commit f2999a3

Please sign in to comment.