mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[ticket/13163] Check for images
PHPBB3-13163
This commit is contained in:
@@ -613,6 +613,13 @@ function parseDocument($container) {
|
|||||||
phpbb.registerDropdown($menu.find('a.responsive-menu-link'), $menu.find('.dropdown'), false);
|
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();
|
check();
|
||||||
$(window).resize(check);
|
$(window).resize(check);
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user