From 14251de4ebfbee262c954b8e5d8fb913ae99e1ea Mon Sep 17 00:00:00 2001 From: Ashley Graves Date: Sun, 3 Nov 2024 23:15:08 +0100 Subject: [PATCH] whar --- js/script.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/script.js b/js/script.js index ce20bb2..e755ed0 100644 --- a/js/script.js +++ b/js/script.js @@ -12,8 +12,8 @@ fetch(host.replace("%", "torr")).then(r => r.text()).then(r => { var i = { "S": "\uf062", - "P": "\uf063", - "L": "\uf46f" + "L": "\uf063", + "P": "\uf1eb", } fetch(host.replace("%", "top10")).then(r => r.text()).then(r => { @@ -33,7 +33,8 @@ 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, leechers: 0 }; + + hashes[info.hash] = hashes[info.hash] ?? { peers: 0, seeds: 0, leechers: 0 }; hashes[info.hash][current] = hashes[info.hash][current] ?? 0; hashes[info.hash][current] += info.num;