aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template
diff options
context:
space:
mode:
authorPayBas <contact@paybas.com>2014-10-15 13:05:10 +0200
committerPayBas <contact@paybas.com>2014-10-15 13:06:54 +0200
commit223ae1dfc24a64b6fccfaaf40c2cced40bcada8a (patch)
tree77d7fa4adc5f0ad18a16d557e7ab8641b216bff0 /phpBB/styles/prosilver/template
parent41d660dd98b48812bd649bdba28a9e04546b7424 (diff)
downloadforums-223ae1dfc24a64b6fccfaaf40c2cced40bcada8a.tar
forums-223ae1dfc24a64b6fccfaaf40c2cced40bcada8a.tar.gz
forums-223ae1dfc24a64b6fccfaaf40c2cced40bcada8a.tar.bz2
forums-223ae1dfc24a64b6fccfaaf40c2cced40bcada8a.tar.xz
forums-223ae1dfc24a64b6fccfaaf40c2cced40bcada8a.zip
[ticket/13163] Check for images
PHPBB3-13163
Diffstat (limited to 'phpBB/styles/prosilver/template')
-rw-r--r--phpBB/styles/prosilver/template/forum_fn.js7
1 files changed, 7 insertions, 0 deletions
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);
});