1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-31 07:13:02 +00:00
This commit is contained in:
Johnny A. dos Santos
2020-02-21 18:25:02 -03:00
committed by GitHub
parent 29f6463ed9
commit 29cb8bfec4

View File

@@ -48,7 +48,8 @@ $(function () {
if ($.inArray(el, uniqueTags) === -1) uniqueTags.push(el);
});
$("#bookAuthor").val(book.authors);
var ampSeparatedAuthors = (book.authors || []).join(" & ");
$("#bookAuthor").val(ampSeparatedAuthors);
$("#book_title").val(book.title);
$("#tags").val(uniqueTags.join(","));
$("#rating").data("rating").setValue(Math.round(book.rating));