From 35679f847c4d817b38ec2e894cb64520f2de3e06 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 5 Feb 2014 17:01:15 +0200 Subject: [PATCH] Do not resize any form control --- js/90-custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '
'); -- 2.39.2