Skip to content

Commit

Permalink
Update imagesLoaded event handler in gallery.js
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylee97 committed Mar 7, 2024
1 parent 05c9d50 commit 516d675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/gallery.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ galleries.forEach((gallery) => {
percentPosition: true
});

imagesLoaded(gallery).on('progress', function (img, i) {
imagesLoaded(gallery).on('progress', function () {
masonry.layout();
});
})

0 comments on commit 516d675

Please sign in to comment.