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

code cosmetics

This commit is contained in:
OzzieIsaacs
2017-04-03 21:05:28 +02:00
parent 8c7a8a954a
commit dc45b53b24
4 changed files with 15 additions and 14 deletions

View File

@@ -141,7 +141,7 @@ $(document).ready(function () {
function dbSearchBook (title) {
var url = douban + dbSearch + "?q=" + title + "&fields=all&count=10";
$.ajax({
url: url,
url,
type: "GET",
dataType: "jsonp",
jsonp: "callback",
@@ -149,7 +149,7 @@ $(document).ready(function () {
dbResults = data.books;
},
error () {
$("#meta-info").html('<p class="text-danger">'+ msg.search_error+"!</p>");
$("#meta-info").html("<p class=\"text-danger\">"+ msg.search_error+"!</p>");
},
complete () {
dbDone = true;