1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-19 08:14:53 +00:00

fix bug for metadata searching result.

This commit is contained in:
idalin 2017-03-07 09:49:59 +08:00
parent a6b2977286
commit bdf28e1475

View File

@ -109,7 +109,7 @@ $(document).ready(function () {
$('#meta-info').html('<ul id="book-list" class="media-list"></ul>'); $('#meta-info').html('<ul id="book-list" class="media-list"></ul>');
} }
if (gg_done && db_done) { if (gg_done && db_done) {
if (!gg_results || !db_results) { if (!gg_results && !db_results) {
$('#meta-info').html('<p class="text-danger">'+ msg.no_result +'</p>'); $('#meta-info').html('<p class="text-danger">'+ msg.no_result +'</p>');
return; return;
} }