We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b22d74 + 61f489a commit 9a7c0a4Copy full SHA for 9a7c0a4
app/code/Magento/Review/view/frontend/templates/review.phtml
@@ -5,7 +5,7 @@
5
*/
6
?>
7
8
-<div id="product-review-container"></div>
+<div id="product-review-container" data-role="product-review"></div>
9
<?php echo $block->getChildHtml(); ?>
10
11
<script>
@@ -19,7 +19,7 @@
19
dataType: 'html'
20
}).done(function (data) {
21
$('#product-review-container').html(data);
22
- $('.pages a').each(function (index, element) {
+ $('[data-role="product-review"] .pages a').each(function (index, element) {
23
$(element).click(function (event) {
24
processReviews($(element).attr('href'), true);
25
event.preventDefault();
0 commit comments