Skip to content

Commit a5a13fb

Browse files
committed
Add case with cached images
1 parent 8bfc104 commit a5a13fb

File tree

1 file changed

+5
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid

1 file changed

+5
-1
lines changed

app/code/Magento/Ui/view/base/web/js/grid/masonry.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,11 @@ define([
213213
function () {
214214
$(images).last().load(function () {
215215
this.setLayoutStyles();
216-
}.bind(this));
216+
}.bind(this)).each(function () {
217+
if (this.complete) {
218+
$(this).load();
219+
}
220+
});;
217221
}.bind(this));
218222
},
219223

0 commit comments

Comments
 (0)