Skip to content

Commit

Permalink
Trigger contentUpdate on reviews load
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Villanueva committed Mar 22, 2019
1 parent 06269b7 commit 6e80c69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ define([
showLoader: false,
loaderContext: $('.product.data.items')
}).done(function (data) {
$('#product-review-container').html(data);
$('#product-review-container').html(data).trigger('contentUpdated');
$('[data-role="product-review"] .pages a').each(function (index, element) {
$(element).click(function (event) { //eslint-disable-line max-nested-callbacks
processReviews($(element).attr('href'), true);
Expand Down

0 comments on commit 6e80c69

Please sign in to comment.