From a5b5fe42c3ccef860ac56527dfcb79a3a0ecbfa4 Mon Sep 17 00:00:00 2001 From: Ugnich Anton Date: Mon, 27 Jan 2014 05:20:28 +0700 Subject: postPM --- web/scripts3.js | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'web/scripts3.js') diff --git a/web/scripts3.js b/web/scripts3.js index a8630b7e..b71eef16 100644 --- a/web/scripts3.js +++ b/web/scripts3.js @@ -822,6 +822,17 @@ $(document).ready(function() { $(this).off('click'); }); + var pmreply=$('textarea.replypm'); + pmreply.autoResize({ + extraSpace: 0, + minHeight: 1 + }); + pmreply.click(function () { + $(this).addClass("narrowpm"); + $(this).parent().after(''); + $(this).off('click'); + }); + if(!!$('#column').offset()) { var stickyTop = $('#column').offset().top; $(window).scroll(function() { -- cgit v1.2.3