Merge branch 'master' into add_lubimyczytac.pl_meta_provider

This commit is contained in:
collerek
2022-01-13 10:49:51 +01:00
committed by GitHub
85 changed files with 10271 additions and 6088 deletions
+1 -3
View File
@@ -47,7 +47,7 @@ $(function () {
$("#tags").val(uniqueTags.join(", "));
$("#languages").val(uniqueLanguages.join(", "));
$("#rating").data("rating").setValue(Math.round(book.rating));
if(book.cover !== null){
if(book.cover && $("#cover_url").length){
$(".cover img").attr("src", book.cover);
$("#cover_url").val(book.cover);
}
@@ -160,9 +160,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);
});