Skip to content

Commit

Permalink
Fix failure_limit always being 0. Fixes bug tuupola#19.
Browse files Browse the repository at this point in the history
  • Loading branch information
tuupola committed Jan 19, 2012
1 parent 4e1fa37 commit 10eb01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.lazyload.js
Expand Up @@ -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;
}
Expand Down

0 comments on commit 10eb01e

Please sign in to comment.