Skip to content

Commit 85893a1

Browse files
committed
Fix issue in lazyload: after the last page - first page was loading
1 parent d18f582 commit 85893a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view/frontend/web/js/lazyload.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*/
4242
function startLoading()
4343
{
44-
if (that.opt.current_page <= that.opt.last_page && !that.loading) {
44+
if (that.opt.current_page < that.opt.last_page && !that.loading) {
4545

4646
that.loading = true;
4747
$('.mfblog-show-onload').show();

0 commit comments

Comments
 (0)