We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the page has no images, the plugin wait for the maxTime to complete, instead of just completing right away.
maxTime
Example: http://jsbin.com/dureti/edit?html,output - Contains 1 image, loads pretty fast. http://jsbin.com/henaba/edit?html,output - Has no images, takes really long time to complete.
What if we add a check after getImageSrcs function on
getImageSrcs
queryloader2/src/ImagePreloader/index.js
Line 29 in 183e0c0
if (this.sources.length === 0) { this.done === true; this.updateProgress(); }
The text was updated successfully, but these errors were encountered:
Sounds like a good plan! You can add a pull request if you'd like to fix this problem.
Sorry, something went wrong.
Fix Gaya#150
c3f8ddd
No branches or pull requests
When the page has no images, the plugin wait for the
maxTime
to complete, instead of just completing right away.Example:
http://jsbin.com/dureti/edit?html,output - Contains 1 image, loads pretty fast.
http://jsbin.com/henaba/edit?html,output - Has no images, takes really long time to complete.
What if we add a check after
getImageSrcs
function onqueryloader2/src/ImagePreloader/index.js
Line 29 in 183e0c0
The text was updated successfully, but these errors were encountered: