Merge pull request #11307 from davidkelly/dk/commerceRegression

Regression in injection script
This commit is contained in:
David Kelly 2017-09-05 13:02:33 -07:00 committed by GitHub
commit ee70df502e

View file

@ -134,7 +134,7 @@
if (parseInt(cost) > 0) {
var priceElement = $(this).find('.price')
priceElement.css({ "width": "auto", "padding": "3px 5px", "height": "26px" });
priceElement.text(parseFloat(cost / 100).toFixed(2) + ' HFC');
priceElement.text(cost + ' HFC');
priceElement.css({ "min-width": priceElement.width() + 10 });
}
});