Skip to content

Commit 9a7c0a4

Browse files
author
Alex Bomko
committed
Merge pull request #85 from magento-nord/MAGETWO-33689
[Nord] Bug fixes
2 parents 0b22d74 + 61f489a commit 9a7c0a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Review/view/frontend/templates/review.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
?>
77

8-
<div id="product-review-container"></div>
8+
<div id="product-review-container" data-role="product-review"></div>
99
<?php echo $block->getChildHtml(); ?>
1010

1111
<script>
@@ -19,7 +19,7 @@
1919
dataType: 'html'
2020
}).done(function (data) {
2121
$('#product-review-container').html(data);
22-
$('.pages a').each(function (index, element) {
22+
$('[data-role="product-review"] .pages a').each(function (index, element) {
2323
$(element).click(function (event) {
2424
processReviews($(element).attr('href'), true);
2525
event.preventDefault();

0 commit comments

Comments
 (0)