mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/13163] Check for images
PHPBB3-13163
This commit is contained in:
parent
41d660dd98
commit
223ae1dfc2
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue