Update index_datatables.js

This commit is contained in:
uparrows 2021-02-07 15:42:53 +08:00 committed by GitHub
parent 5dc5300ca8
commit 0267b6d4ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,13 +235,13 @@ function buildProgressDiv(id, isnew) {
totalPages = Number(localStorage.getItem(id + "-totalPages"));
if (currentPage === totalPages)
return "<div class='isnew'><EFBFBD></div>";
return "<div class='isnew'>👑</div>";
else
return `<div class='isnew'><sup>${currentPage}/${totalPages}</sup></div>`;
}
if (isnew === "block" || isnew === "true") {
return '<div class="isnew"><EFBFBD></div>';
return '<div class="isnew">🆕</div>';
}
return "";