Skip to content

Commit fb2e908

Browse files
ENGCOM-6113: Fixed issue #25039 Product detail did not scroll to review tab after click on 'Review' anchor link #25051
2 parents d73fe8d + 28f454b commit fb2e908

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)