From 223ae1dfc24a64b6fccfaaf40c2cced40bcada8a Mon Sep 17 00:00:00 2001 From: PayBas Date: Wed, 15 Oct 2014 13:05:10 +0200 Subject: [PATCH] [ticket/13163] Check for images PHPBB3-13163 --- phpBB/styles/prosilver/template/forum_fn.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index d8117b6401..aabc5679f6 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -613,6 +613,13 @@ function parseDocument($container) { phpbb.registerDropdown($menu.find('a.responsive-menu-link'), $menu.find('.dropdown'), false); } + // If there are any images in the links list, run the check again after they have loaded + $linksAll.find('img').each(function() { + $(this).load(function() { + check(); + }); + }); + check(); $(window).resize(check); });