Permalink
Browse files

initial update called on load instead of ready

to support refreshes better
  • Loading branch information...
1 parent 8cd76b2 commit 3b7b7096246fe117fbf2da95c6b89ae53e0ad386 sc-aboudreau committed Nov 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.lazyload.js
View
@@ -145,7 +145,7 @@
}
/* Force initial check if images should appear. */
- $(document).ready(function() {
+ $(window).load(function() {
update();
});

0 comments on commit 3b7b709

Please sign in to comment.