diff --git a/script.js b/script.js index a6c513fc..17eadb5f 100644 --- a/script.js +++ b/script.js @@ -187,14 +187,14 @@ async function testIPs(ipList) { MaxofLatencies = EachFetchLatency.length > 0 ? Math.max(...EachFetchLatency) : 0; // get the maximum latency or -1 if the array is empty if (ch) { timeout = 1 * multiply * maxLatency; - document.getElementById('test-no').innerText = `#${testNo} working IP of #${numberOfWorkingIPs}`; + document.getElementById('test-no').innerText = `#${numberOfWorkingIPs}/#${testNo}`; document.getElementById('ip-no').innerText = ip; document.getElementById('ip-no').style = `color: green`; document.getElementById('ip-try').innerText = ch; document.getElementById('ip-latency').innerText = latency + 'ms'; } else { timeout = 1.2 * multiply * maxLatency; - document.getElementById('test-no').innerText = `#${testNo} working IP of #${numberOfWorkingIPs}`; + document.getElementById('test-no').innerText = `#${numberOfWorkingIPs}/#${testNo}`; document.getElementById('ip-no').innerText = ip; document.getElementById('ip-no').style = `color: red`; document.getElementById('ip-try').innerText = '';