aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/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/styles/prosilver/template/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/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