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

pull/346/head
OzzieIsaacs 7 years ago
commit 2302db4e06

@ -103,6 +103,10 @@ $(function () {
} }
}; };
if (book.rating > 0) {
book.rating /= 2;
}
var $book = $(templates.bookResult(book)); var $book = $(templates.bookResult(book));
$book.find("img").on("click", function () { $book.find("img").on("click", function () {
populateForm(book); populateForm(book);

Loading…
Cancel
Save