X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=js%2F90-custom.js;h=bff6ab15fd9c914a012e7b9c2d259b58130deab8;hb=35679f847c4d817b38ec2e894cb64520f2de3e06;hp=a108d940b78ac11d1cf2f8e18fab14621f9daf06;hpb=7dc3247307f2e86af154dc449224f22ba8923c79;p=gruntmaster-page.git diff --git a/js/90-custom.js b/js/90-custom.js index a108d94..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, '
'); @@ -41,5 +41,4 @@ if(theme) { $( document ).ready(function() { var sb=$('#sidebar').detach(); sb.appendTo($('#sponsors')); - console.log( "inside!" ); });