From b023d197ce70c14f5b1e37192af51ffe26fa6811 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Wed, 14 May 2025 22:05:42 +0200 Subject: [PATCH] when the results of the latest process is done, the previous result get hidden --- public/js/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/js/index.js b/public/js/index.js index 8404dbb..94d4515 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -56,6 +56,8 @@ document.getElementById("upload-btn").onclick = async () => { results = json; progressContainer.style.display = "none"; + commentResultsContainer.style.display = "none"; + refinementResultsContainer.style.display = "none"; const resultsContainer = type === "comment" ? commentResultsContainer