Skip to content

Commit

Permalink
fixed issue magento#21558 - Navigation issue of review from product l…
Browse files Browse the repository at this point in the history
…isting when click on review count
  • Loading branch information
sanjay committed May 7, 2019
1 parent bd82ed4 commit 40f802d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ define([
requiredReviewTabRole = 'tab';

if (reviewTab.attr('role') === requiredReviewTabRole && reviewTab.hasClass('active')) {
processReviews(config.productReviewUrl);
if(location.hash=='#reviews') {
processReviews(config.productReviewUrl, true);
} else {
processReviews(config.productReviewUrl);
}
} else {
reviewTab.one('beforeOpen', function () {
processReviews(config.productReviewUrl);
Expand Down

0 comments on commit 40f802d

Please sign in to comment.