Skip to content

Commit 24d2f5e

Browse files
authored
ENGCOM-4561: Trigger contentUpdate on reviews load #21899
2 parents 18d9581 + 791aada commit 24d2f5e

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
@@ -20,7 +20,7 @@ define([
2020
showLoader: false,
2121
loaderContext: $('.product.data.items')
2222
}).done(function (data) {
23-
$('#product-review-container').html(data);
23+
$('#product-review-container').html(data).trigger('contentUpdated');
2424
$('[data-role="product-review"] .pages a').each(function (index, element) {
2525
$(element).click(function (event) { //eslint-disable-line max-nested-callbacks
2626
processReviews($(element).attr('href'), true);

0 commit comments

Comments
 (0)