diff options
author | Ugnich Anton | 2014-01-27 05:20:28 +0700 |
---|---|---|
committer | Ugnich Anton | 2014-01-27 05:20:28 +0700 |
commit | a5b5fe42c3ccef860ac56527dfcb79a3a0ecbfa4 (patch) | |
tree | cb0f460882838c28e47c7345c048fcb329097056 /web/scripts3.js | |
parent | d2ef58b690344e8543771a9d870d85d10249fedf (diff) |
postPM
Diffstat (limited to 'web/scripts3.js')
-rw-r--r-- | web/scripts3.js | 11 |
1 files changed, 11 insertions, 0 deletions
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('<input type="submit" value="OK"/>'); + $(this).off('click'); + }); + if(!!$('#column').offset()) { var stickyTop = $('#column').offset().top; $(window).scroll(function() { |