1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/10741] Do not resize textarea.no-auto-resize

Do not auto-resize textareas with class .no-auto-resize

PHPBB3-10741
This commit is contained in:
Vjacheslav Trushkin
2013-04-09 18:47:08 +03:00
parent 316efcbbbb
commit 67f0e19128
2 changed files with 2 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ $('#member_search').click(function () {
* Automatically resize textarea
*/
$(document).ready(function() {
phpbb.resizeTextArea($('textarea:not(#message-box textarea)'), {minHeight: 75, maxHeight: 250});
phpbb.resizeTextArea($('textarea:not(#message-box textarea, .no-auto-resize)'), {minHeight: 75, maxHeight: 250});
phpbb.resizeTextArea($('#message-box textarea'));
});