Skip to content

Commit 26a2870

Browse files
Revert "AC-10845::Pagebuilder banner image not visible in gallery"
This reverts commit de00502.
1 parent 749f27a commit 26a2870

File tree

1 file changed

+7
-8
lines changed
  • app/code/Magento/Ui/view/base/web/js/grid

1 file changed

+7
-8
lines changed

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

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,14 @@ define([
130130
*/
131131
setLayoutStyles: function (callback) {
132132
var containerWidth, rowImages, ratio, rowHeight, calcHeight, isLastRow, rowNumber;
133-
134133
if (typeof this.container != 'undefined') {
135-
containerWidth = parseInt(this.container.clientWidth, 10);
136-
rowImages = [];
137-
ratio = 0;
138-
rowHeight = 0;
139-
calcHeight = 0;
140-
isLastRow = false;
141-
rowNumber = 1;
134+
containerWidth = parseInt(this.container.clientWidth, 10),
135+
rowImages = [],
136+
ratio = 0,
137+
rowHeight = 0,
138+
calcHeight = 0,
139+
isLastRow = false,
140+
rowNumber = 1;
142141

143142
this.setMinRatio();
144143

0 commit comments

Comments
 (0)