From 4aae37413deca9bd73cd26bd5f479e27504e3706 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 26 Sep 2021 20:38:37 +0100 Subject: [PATCH] updating icon after submitting rating --- src/js/popups/rate-quote-popup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/popups/rate-quote-popup.js b/src/js/popups/rate-quote-popup.js index df405a448..faa3e0a4b 100644 --- a/src/js/popups/rate-quote-popup.js +++ b/src/js/popups/rate-quote-popup.js @@ -174,6 +174,8 @@ async function submit() { Math.round((quoteStats.totalRating / quoteStats.ratings) * 10) / 10 ).toFixed(1); $(".pageTest #result #rateQuoteButton .rating").text(quoteStats.average); + $(".pageTest #result #rateQuoteButton .icon").removeClass("far"); + $(".pageTest #result #rateQuoteButton .icon").addClass("fas"); } }