aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-02-09 16:57:29 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-02-09 16:57:29 +0100
commit0210a6298d9dd39ddb15a1e0b8f49f7821cd460f (patch)
treebd3a3cee4abb9b03ac48f115d6e513be1dbc273e /phpBB
parentfffbbbdcc49f99b141b610ac94f5e8486de25aa8 (diff)
parentad5d4f6bc3a061452d415ce0ee5929e33566f29b (diff)
downloadforums-0210a6298d9dd39ddb15a1e0b8f49f7821cd460f.tar
forums-0210a6298d9dd39ddb15a1e0b8f49f7821cd460f.tar.gz
forums-0210a6298d9dd39ddb15a1e0b8f49f7821cd460f.tar.bz2
forums-0210a6298d9dd39ddb15a1e0b8f49f7821cd460f.tar.xz
forums-0210a6298d9dd39ddb15a1e0b8f49f7821cd460f.zip
Merge branch '3.1.x'
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/assets/javascript/core.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/assets/javascript/core.js b/phpBB/assets/javascript/core.js
index 91f5521c7a..5844537fc8 100644
--- a/phpBB/assets/javascript/core.js
+++ b/phpBB/assets/javascript/core.js
@@ -1032,7 +1032,7 @@ phpbb.resizeTextArea = function($items, options) {
function autoResize(item) {
function setHeight(height) {
- height += parseInt($item.css('height'), 10) - $item.height();
+ height += parseInt($item.css('height'), 10) - $item.innerHeight();
$item
.css({ height: height + 'px', resize: 'none' })
.addClass('auto-resized');
@@ -1051,7 +1051,7 @@ phpbb.resizeTextArea = function($items, options) {
configuration.maxHeight
),
$item = $(item),
- height = parseInt($item.height(), 10),
+ height = parseInt($item.innerHeight(), 10),
scrollHeight = (item.scrollHeight) ? item.scrollHeight : 0;
if (height < 0) {