Skip to content

Commit 28f454b

Browse files
ENGCOM-6113: Fixed issue #25039 Product detail did not scroll to review tab after click on 'Review' anchor link #25051
- Merge Pull Request #25051 from gauravagarwal1001/magento2:pr-for-25039 - Merged commits: 1. 0e02b40
2 parents 99f206f + 0e02b40 commit 28f454b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Review/view/frontend/web/js/process-reviews.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ define([
5454

5555
event.preventDefault();
5656
anchor = $(this).attr('href').replace(/^.*?(#|$)/, '');
57-
addReviewBlock = $('.block.review-add .block-content #' + anchor);
57+
addReviewBlock = $('#' + anchor);
5858

5959
if (addReviewBlock.length) {
6060
$('.product.data.items [data-role="content"]').each(function (index) { //eslint-disable-line

0 commit comments

Comments
 (0)