Skip to content

Commit 01555f8

Browse files
Merge remote-tracking branch '37282/feature-image-order' into comm_voted_v3
2 parents 5344e89 + 98c22a0 commit 01555f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/ConfigurableProduct/view/frontend/web/js/configurable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ define([
372372
*/
373373
_sortImages: function (images) {
374374
return _.sortBy(images, function (image) {
375-
return image.position;
375+
return parseInt(image.position, 10);
376376
});
377377
},
378378

0 commit comments

Comments
 (0)