From 818956867a1bcf90cefa5c5237448b6f3819856e Mon Sep 17 00:00:00 2001 From: fruworg Date: Wed, 2 Aug 2023 20:40:25 +0600 Subject: [PATCH] ip little fix --- static/js/ip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/ip.js b/static/js/ip.js index 2bc124a..f69c956 100644 --- a/static/js/ip.js +++ b/static/js/ip.js @@ -21,10 +21,10 @@ function fetchIPDetails(ip) { function updateDetailsOnPage(ipDetails) { if (ipDetails) { const ipElement = document.getElementById("ip"); - ipElement.textContent = `IP: ${ipDetails.ip}, ASN: ${ipDetails.asn}`; + ipElement.textContent = `${ipDetails.ip}, ${ipDetails.asn}`; const countryElement = document.getElementById("country"); - countryElement.textContent = `Country Code: ${ipDetails.countryCode}, City: ${ipDetails.city}, Org: ${ipDetails.org}`; + countryElement.textContent = `${ipDetails.countryCode}, ${ipDetails.city}, ${ipDetails.org}`; } }