mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15668] Replace .load() with .on('load')
PHPBB3-15668
This commit is contained in:
@@ -612,7 +612,7 @@ function parseDocument($container) {
|
||||
|
||||
// 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() {
|
||||
$(this).on('load', function() {
|
||||
check();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user