Permalink
Browse files

Fix failure_limit always being 0. Fixes bug #19.

  • Loading branch information...
1 parent 4e1fa37 commit 10eb01e3201aeaf8bf7ad63d5efbe4c5bc3e9848 @tuupola committed Jan 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.lazyload.js
View
@@ -26,7 +26,7 @@
if(options) {
/* Maintain BC for a couple of version. */
- if (null !== options.failurelimit) {
+ if (undefined !== options.failurelimit) {
options.failure_limit = options.failurelimit;
delete options.failurelimit;
}

0 comments on commit 10eb01e

Please sign in to comment.