mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix rating star calc
This commit is contained in:
parent
ac07ba9ef2
commit
1f62c4c18b
2 changed files with 2 additions and 2 deletions
|
@ -1391,7 +1391,7 @@
|
|||
var rating = item.CommunityRating / 2;
|
||||
|
||||
for (var i = 1; i <= 5; i++) {
|
||||
if (rating < i - 1) {
|
||||
if (rating <= i - 1) {
|
||||
html += "<div class='starRating emptyStarRating' title='" + item.CommunityRating + "'></div>";
|
||||
}
|
||||
else if (rating < i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue