Skip to content

Commit

Permalink
Fix 'active' class in recommendation_full Template
Browse files Browse the repository at this point in the history
  • Loading branch information
doishub committed Aug 22, 2019
1 parent 9112f88 commit b39d281
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<?php if ($this->addRating): ?>
<div class="rating">
<?php for ($i=1;$i<=5;$i++): ?>
<span class="star<?= ($i<=$this->rating) ? ' activee' : '' ?>"<?= ($i<=$this->rating && $this->styles) ? $this->styles : '' ?>>&#9733;</span>
<span class="star<?= ($i<=$this->rating) ? ' active' : '' ?>"<?= ($i<=$this->rating && $this->styles) ? $this->styles : '' ?>>&#9733;</span>
<?php endfor; ?>
</div>
<?php endif; ?>
Expand Down

0 comments on commit b39d281

Please sign in to comment.