mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-26 04:47:40 +00:00
Bugfixes load metadata
Improvements for testing load metadata
This commit is contained in:
@@ -40,7 +40,7 @@ $(function () {
|
||||
$("#book_title").val(book.title);
|
||||
$("#tags").val(uniqueTags.join(", "));
|
||||
$("#rating").data("rating").setValue(Math.round(book.rating));
|
||||
if(book.cover){
|
||||
if(book.cover && $("#cover_url").length){
|
||||
$(".cover img").attr("src", book.cover);
|
||||
$("#cover_url").val(book.cover);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user