1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-29 22:33:01 +00:00

Fixed google scholar issues

This commit is contained in:
cbartondock
2021-12-23 23:16:41 -05:00
parent 222929e741
commit 4edd1914b4
3 changed files with 4 additions and 11 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 !== null){
if(book.cover){
$(".cover img").attr("src", book.cover);
$("#cover_url").val(book.cover);
}
@@ -128,9 +128,7 @@ $(function () {
e.preventDefault();
keyword = $("#keyword").val();
$('.pill').each(function(){
// console.log($(this).data('control'));
$(this).data("initial", $(this).prop('checked'));
// console.log($(this).data('initial'));
});
doSearch(keyword);
});