Skip to content

Commit

Permalink
Fix rounding bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FlixtorMe committed Aug 28, 2014
1 parent 4e9d394 commit edb7e58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frames/series.html
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@

console.log(serie.rating.percentage)
$("#rating").attr("style", "width:" + serie.rating.percentage + "% !important");
$("#rating").attr("title", (0.1*serie.rating.percentage)+"/10");
$("#rating").attr("title", (0.1*serie.rating.percentage).toFixed(1)+"/10");

$("#btnBuy").click(function () {
var shoppingUrl = 'https://www.google.com/search?q='+serie.title+' series/season&tbm=shop';
Expand Down

0 comments on commit edb7e58

Please sign in to comment.