Round readingtime to avoid crazy number

Like `8.666666666667 min`
This commit is contained in:
Jeremy Benoist 2016-11-06 21:41:32 +01:00
parent 24692715de
commit d61b24e459
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C

View File

@ -78,7 +78,7 @@
<div class="card-action">
<span class="reading-time grey-text">
<i class="material-icons" title="{{ 'entry.list.reading_time'|trans }}">timer</i>
{{ entry.readingTime / app.user.config.readingSpeed }} min
{{ entry.readingTime / app.user.config.readingSpeed|round }} min
</span>
<ul class="tools right">