Skip to content

Commit 359f29f

Browse files
committed
fix autoload addon
1 parent 93cf795 commit 359f29f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/jquery.lazyloadxt.autoload.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66

77
var options = $.lazyLoadXT;
88

9-
options.forceEvent += ' lazycomplete';
10-
options.autoLoad = options.autoLoad || 50;
9+
options.forceEvent += ' lazyautoload';
10+
options.autoLoadTime = options.autoLoadTime || 50;
1111

1212
$(document).ready(function () {
1313
setTimeout(function () {
14-
$(window).trigger('lazycomplete');
15-
}, options.autoLoad);
14+
$(window).trigger('lazyautoload');
15+
}, options.autoLoadTime);
1616
});
1717

1818
})(window.jQuery || window.Zepto);

0 commit comments

Comments
 (0)