Skip to content

Commit

Permalink
Add case with cached images
Browse files Browse the repository at this point in the history
  • Loading branch information
Nazar65 committed May 26, 2020
1 parent 8bfc104 commit a5a13fb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/code/Magento/Ui/view/base/web/js/grid/masonry.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,11 @@ define([
function () {
$(images).last().load(function () {
this.setLayoutStyles();
}.bind(this));
}.bind(this)).each(function () {
if (this.complete) {
$(this).load();
}
});;
}.bind(this));
},

Expand Down

0 comments on commit a5a13fb

Please sign in to comment.