aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/ajax.js
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-04-09 18:47:08 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-04-12 16:46:54 +0300
commit67f0e19128415210f0ece4a8cd3df12e4b35eaf6 (patch)
tree4981c838ec5c4f46738110f88751fbe774f4db1d /phpBB/adm/style/ajax.js
parent316efcbbbb72058bb9986be08af3d11173817386 (diff)
downloadforums-67f0e19128415210f0ece4a8cd3df12e4b35eaf6.tar
forums-67f0e19128415210f0ece4a8cd3df12e4b35eaf6.tar.gz
forums-67f0e19128415210f0ece4a8cd3df12e4b35eaf6.tar.bz2
forums-67f0e19128415210f0ece4a8cd3df12e4b35eaf6.tar.xz
forums-67f0e19128415210f0ece4a8cd3df12e4b35eaf6.zip
[ticket/10741] Do not resize textarea.no-auto-resize
Do not auto-resize textareas with class .no-auto-resize PHPBB3-10741
Diffstat (limited to 'phpBB/adm/style/ajax.js')
-rw-r--r--phpBB/adm/style/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/adm/style/ajax.js b/phpBB/adm/style/ajax.js
index 8211bdd014..6f21dfa6ac 100644
--- a/phpBB/adm/style/ajax.js
+++ b/phpBB/adm/style/ajax.js
@@ -152,7 +152,7 @@ $('[data-ajax]').each(function() {
* Automatically resize textarea
*/
$(document).ready(function() {
- phpbb.resizeTextArea($('textarea'), {minHeight: 75});
+ phpbb.resizeTextArea($('textarea:not(.no-auto-resize)'), {minHeight: 75});
});