Skip to content

Commit

Permalink
Merge pull request jackmoore#64 from onionhammer/patch-1
Browse files Browse the repository at this point in the history
textarea passed in as parameter as well as 'this' element
  • Loading branch information
Jack Moore committed May 2, 2013
2 parents a1c0157 + 71b559d commit d452b71
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions jquery.autosize.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*!
jQuery Autosize v1.16.7
(c) 2013 Jack Moore - jacklmoore.com
updated: 2013-03-20
license: http://www.opensource.org/licenses/mit-license.php
*/

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


(function ($) {
var
Expand Down Expand Up @@ -147,7 +147,7 @@
if (original !== height) {
ta.style.height = height + 'px';
if (callback) {
options.callback.call(ta);
options.callback.call(ta,ta);
}
}

Expand Down

0 comments on commit d452b71

Please sign in to comment.