diff --git a/CHANGELOG.md b/CHANGELOG.md index 81473ab4df..bd282abaf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog ## Draft +- Shoppers are not anchor-linked to reviews on PDPs if product description tabs are enabled. [#1883](https://github.com/bigcommerce/cornerstone/pull/1883) - Fixed text contrast for brand name on Cart page. [#1882](https://github.com/bigcommerce/cornerstone/pull/1882) - Add sufficient contrast for Upsell Banners in Cornerstone Theme according to AA Standard. [#1891](https://github.com/bigcommerce/cornerstone/pull/1891) - Add appropriate text contrast for "Skip to Main Content". [#1880](https://github.com/bigcommerce/cornerstone/pull/1880) diff --git a/assets/js/theme/product/reviews.js b/assets/js/theme/product/reviews.js index 3b52786718..22bb8ebc79 100644 --- a/assets/js/theme/product/reviews.js +++ b/assets/js/theme/product/reviews.js @@ -23,7 +23,7 @@ export default class { initLinkBind() { const $content = $('#productReviews-content', this.$reviewsContent); - $('.productView-reviewLink').on('click', () => { + $('#productReview_link').on('click', () => { $('.productView-reviewTabLink').trigger('click'); if (!$content.hasClass('is-open')) { this.$collapsible.trigger(CollapsibleEvents.click); diff --git a/templates/components/products/product-view.html b/templates/components/products/product-view.html index ff2d75dd3e..19e86fb9fc 100644 --- a/templates/components/products/product-view.html +++ b/templates/components/products/product-view.html @@ -103,7 +103,7 @@

components/products/ratings rating=product.rating}} {{#if product.num_reviews '>' 0}} - + {{lang 'products.reviews.link_to_review' total=product.num_reviews}} {{else}}