Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit af09395

Browse files
authored
Merge pull request #1782 from OpenBazaar/fixReviewStars
Fix math on review stars.
2 parents 4e7318f + 63c8be9 commit af09395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/templates/ratingStars.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<% } %>
99
</div>
1010
<% } %>
11-
<% for (var i=0; i < 5 - ob.rating; i++) { %>
11+
<% for (var i=0; i < 5 - Math.ceil(ob.rating); i++) { %>
1212
<div class="inlineBlock positionRelative">
1313
<span class="ion-android-star unfilled"></span>
1414
</div>

0 commit comments

Comments
 (0)