mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +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:
@@ -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'));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user