Skip to content

Commit

Permalink
Merge pull request jackmoore#65 from firedev/master
Browse files Browse the repository at this point in the history
Prevents horizontal scroll
  • Loading branch information
Jack Moore committed May 7, 2013
2 parents d452b71 + b9dfb43 commit 25e65e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jquery.autosize-min.js

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

2 changes: 1 addition & 1 deletion jquery.autosize.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
supportsScrollHeight,

// border:0 is unnecessary, but avoids a bug in FireFox on OSX (http://www.jacklmoore.com/autosize#comment-851)
copy = '<textarea tabindex="-1" style="position:absolute; top:-999px; left:0; right:auto; bottom:auto; border:0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; overflow:hidden;"/>',
copy = '<textarea tabindex="-1" style="position:absolute; top:-999px; left:0; right:auto; bottom:auto; border:0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; width: 0; overflow:hidden;"/>',

// line-height is conditionally included because IE7/IE8/old Opera do not return the correct value.
copyStyle = [
Expand Down

0 comments on commit 25e65e2

Please sign in to comment.