From 31345800078791e74c8935936c8e7edafb2a2797 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Wed, 23 Oct 2013 23:46:29 +0300 Subject: [ticket/11956] More fixes for responsive minitabs PHPBB3-11956 --- phpBB/styles/prosilver/template/forum_fn.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/styles/prosilver/template') diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 9895510a1b..0da3c77d53 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -934,7 +934,8 @@ function parse_document(container) responsive = false; links.each(function() { - maxHeight = Math.max(maxHeight, $(this).outerHeight(true)); + var link = $(this); + maxHeight = Math.max(maxHeight, Math.max(link.outerHeight(true), link.parent().outerHeight(true))); }) function check() { -- cgit v1.2.1