Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better explanation why delay is used.

  • Loading branch information...
commit c7a27c0d6b98358c2db65d825a0cfb916fd3467f 1 parent 6a97c71
@tuupola authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.lazyload.js
View
4 jquery.lazyload.js
@@ -146,8 +146,8 @@
/* Force initial check if images should appear. */
$(document).ready(function() {
- /* Delay or Webkit browsers will in some cases return false from */
- /* initial $.is(":visible") call inside update() */
+ /* Delay or Webkit browsers return false from initial $.is(":visible") */
+ /* call inside update() when image does not have width and height set. */
setTimeout(function() {
update();
}, 50);
Please sign in to comment.
Something went wrong with that request. Please try again.