/* global $ */ /* @depend TablesorterController.js */ var QfqNS = QfqNS || {}; $(document).ready( function () { (function (n) { var tablesorterController = new n.TablesorterController(); $('.tablesorter').each(function(i) { 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); });