diff --git a/collector/script.js b/collector/script.js index 9da3387b..dd002ee1 100644 --- a/collector/script.js +++ b/collector/script.js @@ -194,6 +194,7 @@ document.cookie = "final=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/"; fire.style.display = "block"; greet.style.display = "flex"; todayTable.style.display = "none"; + viewAll.style.display = "none"; } const cols = document.querySelectorAll("td[data-href]"); @@ -294,6 +295,7 @@ document.cookie = "final=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/"; fire.style.display = "block"; greet.style.display = "flex"; todayTable.style.display = "none"; + viewAll.style.display = "none"; c1.style.display = "none"; c2.style.display = "none"; } @@ -352,6 +354,7 @@ document.cookie = "final=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/"; fire.style.display = "block"; greet.style.display = "flex"; todayTable.style.display = "none"; + viewAll.style.display = "none"; } w1Value.textContent = data.rate.price + " LKR"; @@ -410,6 +413,7 @@ document.cookie = "final=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/"; fire.style.display = "block"; greet.style.display = "flex"; todayTable.style.display = "none"; + viewAll.style.display = "none"; } viewAll.addEventListener("click", () => { diff --git a/supplier/index.html b/supplier/index.html index 5958cd62..1ed724e8 100644 --- a/supplier/index.html +++ b/supplier/index.html @@ -149,7 +149,7 @@