forked from deblan/gist
4 lines
121 B
JavaScript
4 lines
121 B
JavaScript
|
$('textarea').on('keyup change', function() {
|
||
|
$(this).attr('rows', Math.max(10, $(this).val().split("\n").length));
|
||
|
});
|