aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/style/ajax.js
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-06-03 22:42:49 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-06-03 22:42:49 +0200
commitaf8c4b29009548fd1a28c3210c4734d84e4ebb48 (patch)
tree12a0bec1c9e91484534c7737afc9d06c6ee95b9d /phpBB/adm/style/ajax.js
parent79823b9cafb41f4f9405c6a5bf7e0c46b0aa751b (diff)
parent74da9e32e5a3eafb942c4a5ab58c642654cf582e (diff)
downloadforums-af8c4b29009548fd1a28c3210c4734d84e4ebb48.tar
forums-af8c4b29009548fd1a28c3210c4734d84e4ebb48.tar.gz
forums-af8c4b29009548fd1a28c3210c4734d84e4ebb48.tar.bz2
forums-af8c4b29009548fd1a28c3210c4734d84e4ebb48.tar.xz
forums-af8c4b29009548fd1a28c3210c4734d84e4ebb48.zip
Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/11531
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