Skip to content
Snippets Groups Projects
Commit 214b06fc authored by bbaer's avatar bbaer
Browse files

new class qfq-auto-grow for textareas and the like

parent e1b1589b
No related branches found
No related tags found
1 merge request!194F9521 text area
Pipeline #2646 passed
......@@ -12,5 +12,12 @@ $(document).ready( function () {
tablesorterController.setup($(this), i);
}); // end .each()
$('.qfq-auto-grow').on('input', function() {
if($(this).height() + 10 < $(this).prop('scrollHeight')) {
$(this).height($(this).prop('scrollHeight'));
}
});
})(QfqNS);
});
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment