Skip to content

Commit c1a9fab

Browse files
Stanislav Idolovrostyslav-hymon
authored andcommitted
1 parent cbc5e76 commit c1a9fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ define([
312312
*/
313313
_sortAttributes: function () {
314314
this.options.jsonConfig.attributes = _.sortBy(this.options.jsonConfig.attributes, function (attribute) {
315-
return parseInt(attribute.position);
315+
return parseInt(attribute.position, 10);
316316
});
317317
},
318318

0 commit comments

Comments
 (0)