Skip to content
New issue

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

Initial scroll sometimes needed for images to load #48

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.textile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
h3. Changelog

h4. 1.8.1

* Minor bug fix to account for websites with large JavaScript parsing and many DOM elements which causes LazyLoad not to load images above the fold.

h4. 1.8.0

* Allow different elements to use different containers ("Rob Walch":https://github.com/robwalch)
Expand Down
6 changes: 4 additions & 2 deletions jquery.lazyload.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Project home:
* http://www.appelsiini.net/projects/lazyload
*
* Version: 1.8.0
* Version: 1.8.1
*
*/
(function($, window) {
Expand Down Expand Up @@ -131,7 +131,9 @@
});

/* Force initial check if images should appear. */
update();
$(document).ready(function() {
update();
});

return this;
};
Expand Down
4 changes: 2 additions & 2 deletions jquery.lazyload.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.