Skip to content

Commit

Permalink
Return the value of checkImages to let failure limit return false
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Allen authored and tuupola committed Feb 25, 2012
1 parent 9c4cd8b commit 5c02e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.lazyload.js
Expand Up @@ -67,7 +67,7 @@
/* Fire one scroll event per scroll. Not one scroll event per image. */
if (0 === settings.event.indexOf("scroll")) {
$(settings.container).bind(settings.event, function(event) {
checkImages();
return checkImages();
});
}

Expand Down

0 comments on commit 5c02e77

Please sign in to comment.