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

Merge remote-tracking branch 'remotes/cyberalien/ticket/10741' into develop

This commit is contained in:
Nathaniel Guse
2013-05-11 20:15:53 -05:00
3 changed files with 111 additions and 0 deletions

View File

@@ -225,4 +225,13 @@ $('#member_search').click(function () {
return false;
});
/**
* Automatically resize textarea
*/
$(document).ready(function() {
phpbb.resizeTextArea($('textarea:not(#message-box textarea, .no-auto-resize)'), {minHeight: 75, maxHeight: 250});
phpbb.resizeTextArea($('#message-box textarea'));
});
})(jQuery); // Avoid conflicts with other libraries