From 7aa37baeb81e04b8629b2500505357ff083087f8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 4 Jun 2023 12:43:31 -0400 Subject: [PATCH] keep yellow glow on star after editing --- journal/templates/mark2.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/journal/templates/mark2.html b/journal/templates/mark2.html index ff8e4e21..951007be 100644 --- a/journal/templates/mark2.html +++ b/journal/templates/mark2.html @@ -50,7 +50,7 @@
in me set star_input to the - in me set current_value to star_input.value set star_div.style.width to (current_value * 10) + '%' set @data-tooltip to current_value or '未评分' remove .yellow from star_div end"> + in me set current_value to star_input.value set star_div.style.width to (current_value * 10) + '%' set @data-tooltip to current_value or '未评分' end"> {{ mark.rating_grade|rating_star }}