From 107c944bef4dbc9fe1d6f3f4aae51b3e09b8d478 Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Thu, 15 Oct 2020 09:35:16 +0200 Subject: [PATCH] Fix that is described in ticket 134 --- web/app/static/js/modules/corpus_analysis/view/callbacks.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app/static/js/modules/corpus_analysis/view/callbacks.js b/web/app/static/js/modules/corpus_analysis/view/callbacks.js index 6090ad49..4ea124d0 100644 --- a/web/app/static/js/modules/corpus_analysis/view/callbacks.js +++ b/web/app/static/js/modules/corpus_analysis/view/callbacks.js @@ -156,11 +156,11 @@ function queryDataRecievingCallback(resultsList, detail) { // Callback that is executed when all results from an issued query have been recieved function queryDataRecievedCallback(resultsList, detail) { // hide or disable some things for the user - resultsList.queryResultsUserFeedback.classList.toggle('hide'); - resultsList.queryProgressBar.classList.toggle('hide'); + resultsList.queryResultsUserFeedback.classList.toggle('hide', true); + resultsList.queryProgressBar.classList.toggle('hide', true); // reset bar progress for next query resultsList.queryProgressBar.firstElementChild.style.width = '0%'; - resultsList.showCorpusFiles.classList.toggle('disabled'); + resultsList.showCorpusFiles.classList.toggle('disabled', false); } /**