1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13163] Check for images

PHPBB3-13163
This commit is contained in:
PayBas
2014-10-15 13:05:10 +02:00
parent 41d660dd98
commit 223ae1dfc2

View File

@@ -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);
});