File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,16 @@ jQuery(document).ready(function () {
3939 const nextCount = totalPages + 1 ;
4040 const gapText = '…' ;
4141
42- $ ( '.grade-stars' ) . rating ( ) ;
42+ $ ( '#product-comments-list .grade-stars' ) . rating ( ) ;
43+ $ ( '.product-comments-additional-info .grade-stars' ) . rating ( ) ;
4344
4445 prestashop . on ( 'updatedProduct' , function ( ) {
4546 $ ( '.product-comments-additional-info .grade-stars' ) . rating ( ) ;
4647 } )
4748
4849 document . addEventListener ( 'updateRating' , function ( ) {
49- $ ( '.grade-stars' ) . rating ( ) ;
50+ $ ( '#product-comments-list .grade-stars' ) . rating ( ) ;
51+ $ ( '.product-comments-additional-info .grade-stars' ) . rating ( ) ;
5052 } ) ;
5153
5254 const updateCommentPostErrorModal = $ ( '#update-comment-usefulness-post-error' ) ;
You can’t perform that action at this time.
0 commit comments