1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 18:47:23 +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>');
}
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>');
return;
}