Fix undefined target on LS instance lazyLoad args
This commit is contained in:
@@ -41,7 +41,7 @@ export default class extends module {
|
|||||||
* @param {LocomotiveScroll} args - The Locomotive Scroll instance.
|
* @param {LocomotiveScroll} args - The Locomotive Scroll instance.
|
||||||
*/
|
*/
|
||||||
lazyLoad(args) {
|
lazyLoad(args) {
|
||||||
lazyLoadImage(args.obj.target, null, () => {
|
lazyLoadImage(args.obj.el, null, () => {
|
||||||
//callback
|
//callback
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user