From 6ff96479dfa0efcc4e7969cf3fcea5a2b30215ed Mon Sep 17 00:00:00 2001 From: Michael Schock Date: Tue, 11 Apr 2017 13:51:07 -0700 Subject: [PATCH] STENCIL-3352 - Fix product quick view 'Write a Review' link --- CHANGELOG.md | 1 + assets/js/theme/product.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 145e2b463b..048d3098e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Fix product quick view 'Write a Review' link [#995](https://github.com/bigcommerce/cornerstone/pull/995) - Update bigcommerce.com footer link [#990](https://github.com/bigcommerce/cornerstone/pull/990) - Fix invalid icon HTML in AMP templates [#989](https://github.com/bigcommerce/cornerstone/pull/989) diff --git a/assets/js/theme/product.js b/assets/js/theme/product.js index 12652a8c34..de49434d68 100644 --- a/assets/js/theme/product.js +++ b/assets/js/theme/product.js @@ -63,7 +63,7 @@ export default class Product extends PageManager { } productReviewHandler() { - if (this.url.indexOf('#write_review') !== -1) { + if (this.url.indexOf('#writeReview') !== -1) { this.$reviewLink.click(); } }