From: Marius Gavrilescu Date: Wed, 5 Feb 2014 15:01:15 +0000 (+0200) Subject: Do not resize any form control X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=35679f847c4d817b38ec2e894cb64520f2de3e06;p=plack-app-gruntmaster.git Do not resize any form control --- diff --git a/js/90-custom.js b/js/90-custom.js index b9a05eb..bff6ab1 100644 --- a/js/90-custom.js +++ b/js/90-custom.js @@ -15,7 +15,7 @@ $( document ).ready(function() { $('body').append(hiddenDiv); - $(".form-control").on('keyup', function () { + $("textarea.autoresize").on('keyup', function () { content = $(this).val(); content = content.replace(/\n/g, '
');