1
0
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:
Ozzie Isaacs
2022-01-07 12:40:03 +01:00
parent c830a5936e
commit e3dbf7a88d
4 changed files with 9 additions and 9 deletions

View File

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