aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/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/styles/prosilver/template/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/styles/prosilver/template/ajax.js')
-rw-r--r--phpBB/styles/prosilver/template/ajax.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js
index 8dd1f58c97..2528b96ece 100644
--- a/phpBB/styles/prosilver/template/ajax.js
+++ b/phpBB/styles/prosilver/template/ajax.js
@@ -225,4 +225,13 @@ $('#member_search').click(function () {
return false;
});
+/**
+* Automatically resize textarea
+*/
+$(document).ready(function() {
+ phpbb.resizeTextArea($('textarea:not(#message-box textarea, .no-auto-resize)'), {minHeight: 75, maxHeight: 250});
+ phpbb.resizeTextArea($('#message-box textarea'));
+});
+
+
})(jQuery); // Avoid conflicts with other libraries