mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00: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:
parent
316efcbbbb
commit
67f0e19128
2 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ $('[data-ajax]').each(function() {
|
||||||
* Automatically resize textarea
|
* Automatically resize textarea
|
||||||
*/
|
*/
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
phpbb.resizeTextArea($('textarea'), {minHeight: 75});
|
phpbb.resizeTextArea($('textarea:not(.no-auto-resize)'), {minHeight: 75});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -229,7 +229,7 @@ $('#member_search').click(function () {
|
||||||
* Automatically resize textarea
|
* Automatically resize textarea
|
||||||
*/
|
*/
|
||||||
$(document).ready(function() {
|
$(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'));
|
phpbb.resizeTextArea($('#message-box textarea'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue