Call getContents if parseBooks finds new or purged books.

This commit is contained in:
Junior 2025-05-06 13:52:30 -04:00
parent e4bbfd5f60
commit e117a6f037

View File

@ -176,6 +176,7 @@ function parseBooks() {
url : 'scripts/parsebooks.php',
dataType : 'json',
success : function(data, stat, jqo) {
if ( (data.new != 0) || (data.purged != 0) ) getContents();
myToast.reset();
var message = "";
message += "<h2><strong>Books Parsed:</strong></h2>";