X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=js%2F90-custom.js;h=bff6ab15fd9c914a012e7b9c2d259b58130deab8;hb=35679f847c4d817b38ec2e894cb64520f2de3e06;hp=b9a05ebcb3c0ad1d8cd4b267a30e8c7a950b6235;hpb=191f4979def520b8be01554eb954c80ee42df38b;p=gruntmaster-page.git 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, '
');