diff --git a/app/templates/corpora/corpus.html.j2 b/app/templates/corpora/corpus.html.j2 index fcf181c5..28b455df 100644 --- a/app/templates/corpora/corpus.html.j2 +++ b/app/templates/corpora/corpus.html.j2 @@ -35,7 +35,7 @@
searchAnalyze - merge_typeCompile + buildBuild deleteDelete
@@ -163,7 +163,7 @@ } setStatus(status) { - let analyzeElement, compileElement, numFiles, progressIndicatorElement, statusElement; + let analyzeElement, buildElement, numFiles, progressIndicatorElement, statusElement; numFiles = (this.foreignCorpusFlag ? nopaque.foreignCorpora[this.corpusId] : nopaque.corpora[this.corpusId]).files.length; @@ -185,11 +185,11 @@ analyzeElement.classList.add("disabled", "hide"); } - compileElement = document.getElementById("compile"); + buildElement = document.getElementById("build"); if (status === "unprepared" && numFiles > 0) { - compileElement.classList.remove("disabled", "hide"); + buildElement.classList.remove("disabled", "hide"); } else { - compileElement.classList.add("disabled", "hide"); + buildElement.classList.add("disabled", "hide"); } } }