Skip to content

Commit

Permalink
MAGETWO-51181: [GITHUB] Configurable product's last attribute with pr…
Browse files Browse the repository at this point in the history
…ice zero results in error #3912

 - updated per code review
  • Loading branch information
Mike Weis committed Mar 31, 2016
1 parent ffee4de commit 0a8b8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Catalog/view/base/web/js/price-box.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ define([
var type = $(element).data('priceType'),
amount = parseFloat($(element).data('priceAmount'));

if (type && !isNaN(amount)) {
if (type && !_.isNaN(amount)) {
prices[type] = {
amount: amount
};
Expand Down

0 comments on commit 0a8b8cf

Please sign in to comment.