From f356d4bb894321a1e9000c8d8a0771f0ab2873f1 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Thu, 16 Apr 2020 10:21:22 +0200 Subject: [PATCH] Naming... --- app/templates/corpora/corpus.html.j2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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"); } } }