From f6498586487ce062139c77c6aae76db01b57dbb2 Mon Sep 17 00:00:00 2001 From: Codencode Date: Mon, 28 Jul 2025 12:59:29 +0200 Subject: [PATCH] Removed the "updateRating" event --- views/js/list-comments.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/views/js/list-comments.js b/views/js/list-comments.js index 06de9d5..fc0a14b 100644 --- a/views/js/list-comments.js +++ b/views/js/list-comments.js @@ -45,10 +45,6 @@ jQuery(document).ready(function () { $('.product-comments-additional-info .grade-stars').rating(); }) - document.addEventListener('updateRating', function() { - $('.grade-stars').rating(); - }); - const updateCommentPostErrorModal = $('#update-comment-usefulness-post-error'); const confirmAbuseModal = $('#report-comment-confirmation');