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