Commit 2302db4e authored by OzzieIsaacs's avatar OzzieIsaacs

Merge remote-tracking branch 'adv/fix-douban-rating'

parents 299cf829 29f21b14
......@@ -103,6 +103,10 @@ $(function () {
}
};
if (book.rating > 0) {
book.rating /= 2;
}
var $book = $(templates.bookResult(book));
$book.find("img").on("click", function () {
populateForm(book);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment