1
0
Fork 0
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:
Eric Reed 2013-11-09 13:36:45 -05:00
parent ac07ba9ef2
commit 1f62c4c18b
2 changed files with 2 additions and 2 deletions

View file

@ -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) {