diff options
author | PayBas <contact@paybas.com> | 2014-10-15 13:05:10 +0200 |
---|---|---|
committer | PayBas <contact@paybas.com> | 2014-10-15 13:06:54 +0200 |
commit | 223ae1dfc24a64b6fccfaaf40c2cced40bcada8a (patch) | |
tree | 77d7fa4adc5f0ad18a16d557e7ab8641b216bff0 /phpBB/styles/prosilver/template | |
parent | 41d660dd98b48812bd649bdba28a9e04546b7424 (diff) | |
download | forums-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.js | 7 |
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); }); |