mirror of
https://github.com/janeczku/calibre-web.git
synced 2024-11-30 09:07:17 +02:00
Merge remote-tracking branch 'adv/fix-douban-rating'
This commit is contained in:
commit
2302db4e06
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user