1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/10741] Automatically resize textareas in prosilver and ACP

Automatically resize textareas in prosilver and ACP.

PHPBB3-10741
This commit is contained in:
Vjacheslav Trushkin
2013-04-09 18:39:47 +03:00
parent 88072fd6c2
commit 316efcbbbb
2 changed files with 15 additions and 0 deletions

View File

@@ -148,6 +148,12 @@ $('[data-ajax]').each(function() {
}
});
/**
* Automatically resize textarea
*/
$(document).ready(function() {
phpbb.resizeTextArea($('textarea'), {minHeight: 75});
});
})(jQuery); // Avoid conflicts with other libraries