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); } /**