Merge branch 'development-v6' into fix/adlist_list

This commit is contained in:
DL6ER
2023-10-17 22:24:26 +02:00
2 changed files with 2 additions and 3 deletions

View File

@@ -38,7 +38,6 @@ function eventsource() {
return reader.read().then(({ done, value }) => {
// When no more data needs to be consumed, close the stream
if (done) {
ta.append("Done.");
controller.close();
alInfo.hide();
$("#gravityBtn").prop("disabled", false);
@@ -50,7 +49,7 @@ function eventsource() {
var string = new TextDecoder().decode(value);
parseLines(ta, string);
if (string.indexOf("Pi-hole blocking is") !== -1) {
if (string.indexOf("Done.") !== -1) {
alSuccess.show();
}

View File

@@ -85,7 +85,7 @@ function format(data) {
: "N/A") +
(data.abp_entries !== null && parseInt(data.abp_entries, 10) > 0 && numbers === true
? " (out of which " + parseInt(data.abp_entries, 10).toLocaleString() + " are in ABP-style)"
: "N/A") +
: "") +
'</td></tr><tr class="dataTables-child"' +
"><td>Number of non-domains on this list:&nbsp;&nbsp;</td>" +
"<td>" +