This commit is contained in:
Stephan Porada 2020-03-31 10:27:26 +02:00
parent 0d40f04bdd
commit 90cf1bf8a0

View File

@ -3,6 +3,7 @@ function querySetup(payload) {
console.log("Query setup.");
console.log(payload);
queryResultsDeterminateElement.style.width = "0%";
queryResultsProgressElement.classList.remove("hide");
receivedMatchNumElement.innerText = "0";
textLookupNumElement.innerText = "0";
matchNumElement.innerText = payload.num_matches;
@ -10,7 +11,7 @@ function querySetup(payload) {
results["matches"] = []; // list of all c with lc and rc
results["cpos_lookup"] = {}; // object contains all cpos as key value pair
results["text_lookup"] = {}; // same as above for all text ids
results[]
results["num_matches"] = payload.num_matches;
}
function queryRenderResults(payload) {