Commit 214b06fc authored by bbaer's avatar bbaer
Browse files

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

parent e1b1589b
Pipeline #2646 passed with stages
in 2 minutes and 40 seconds
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment