From cad9b6f4936a24229f39528a65cef4e9444962bc Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Sun, 3 Nov 2024 22:59:21 +0100 Subject: [PATCH] oops typo --- js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/script.js b/js/script.js index 1e93a30..d1cbf0c 100644 --- a/js/script.js +++ b/js/script.js @@ -33,7 +33,7 @@ fetch(host.replace("%", "top10")).then(r => r.text()).then(r => { num: parseInt(segments[0]), hash: segments[1] } - hashes[info.hash] = hashes[info.hash] ?? { seeds: 0, peers: 0, leeches: 0 }; + hashes[info.hash] = hashes[info.hash] ?? { seeds: 0, peers: 0, leechers: 0 }; hashes[info.hash][current] = hashes[info.hash][current] ?? 0; hashes[info.hash][current] += info.num;