1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-10-01 00:10:48 +00:00

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

This commit is contained in:
OzzieIsaacs 2017-09-22 20:57:24 +02:00
commit 2302db4e06

View File

@ -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);