Skip to content

Commit

Permalink
Merge pull request #48 from magento-epam/MAGETWO-66666
Browse files Browse the repository at this point in the history
MAGETWO-66666: Adding a product to cart from category page with an ex…
  • Loading branch information
vital-pantsialeyeu authored Aug 13, 2018
2 parents 36aec4b + f8f1a61 commit a12c031
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ define([

/** @inheritdoc */
complete: function (res) {
if (res.state() == 'rejected') {
if (res.state() === 'rejected') {
location.reload();
}
}
Expand Down

0 comments on commit a12c031

Please sign in to comment.