Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov authored and rostyslav-hymon committed Mar 19, 2018
1 parent cbc5e76 commit c1a9fab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ define([
*/
_sortAttributes: function () {
this.options.jsonConfig.attributes = _.sortBy(this.options.jsonConfig.attributes, function (attribute) {
return parseInt(attribute.position);
return parseInt(attribute.position, 10);
});
},

Expand Down

0 comments on commit c1a9fab

Please sign in to comment.