Skip to content

Perform background check after images are loaded#11

Open
michalbiarda wants to merge 1 commit intogetgrav:developfrom
michalbiarda:develop
Open

Perform background check after images are loaded#11
michalbiarda wants to merge 1 commit intogetgrav:developfrom
michalbiarda:develop

Conversation

@michalbiarda
Copy link

Hi guys,

first of all thanks for an amazing template. I like it very much.

I started playing with it recently and noticed that background check feature sometimes doesn't work properly. I dug a little bit and it looks like the script is not taking into account when images are loaded. When JS script starts before images are loaded (for example when all assets are cached in a browser), background check is incorrect.

My fix forces the script to wait until all checked images are loaded. Please merge it if you want.

Best regards,
Michał Biarda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant