aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/ajax.js
diff options
context:
space:
mode:
authorNathaniel Guse <nathaniel.guse@gmail.com>2013-05-11 20:15:53 -0500
committerNathaniel Guse <nathaniel.guse@gmail.com>2013-05-11 20:15:53 -0500
commit393ed4a2d0d09f4c6b174534ace3dd16dc53fbcc (patch)
tree4d5912eb0aca8b11503f120afb01862155db32aa /phpBB/adm/style/ajax.js
parentc583d9f5e721764ef413512b8104b4873d807e7a (diff)
parent947550df8f5e2ba624adc26ddd22c7fe74e4f602 (diff)
downloadforums-393ed4a2d0d09f4c6b174534ace3dd16dc53fbcc.tar
forums-393ed4a2d0d09f4c6b174534ace3dd16dc53fbcc.tar.gz
forums-393ed4a2d0d09f4c6b174534ace3dd16dc53fbcc.tar.bz2
forums-393ed4a2d0d09f4c6b174534ace3dd16dc53fbcc.tar.xz
forums-393ed4a2d0d09f4c6b174534ace3dd16dc53fbcc.zip
Merge remote-tracking branch 'remotes/cyberalien/ticket/10741' into develop
Diffstat (limited to 'phpBB/adm/style/ajax.js')
-rw-r--r--phpBB/adm/style/ajax.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/adm/style/ajax.js b/phpBB/adm/style/ajax.js
index 8f7c210e00..6f21dfa6ac 100644
--- a/phpBB/adm/style/ajax.js
+++ b/phpBB/adm/style/ajax.js
@@ -148,6 +148,12 @@ $('[data-ajax]').each(function() {
}
});
+/**
+* Automatically resize textarea
+*/
+$(document).ready(function() {
+ phpbb.resizeTextArea($('textarea:not(.no-auto-resize)'), {minHeight: 75});
+});
})(jQuery); // Avoid conflicts with other libraries