Is this the code that is being used to preload the images in the head?
As it's wrapped in a $(window).load, wouldn't that mean this script isn't running until the site has loaded assets such as the images within the html?
Code:
$('<img/>').src = '/resources/images/display/icon-background.png';
As it's wrapped in a $(window).load, wouldn't that mean this script isn't running until the site has loaded assets such as the images within the html?