tuupola/jquery_lazyload — pull request #221 by radeksery (2014-09-12 10:57:37+00:00)
Title: On document ready, update function is called only when event contains "s...

Even when using custom event for image loading, images in viewport will still load right after page load as descbied here tuupola/jquery_lazyload#220.

This pull request fixes this behavior by checking if the desired event is "scroll" before calling update function on document ready. When one sets event to anything else, images won't load until the actual event is triggered.