uncomment log messages

This commit is contained in:
Stephan Porada 2020-04-23 12:10:36 +02:00
parent d9353e3d7d
commit 1c27c0a36c

View File

@ -264,8 +264,8 @@ class ResultsList extends List {
tokenHTMlElement = this.HTMLTStrToElement(htmlTokenStr)
tokenHTMLArray.push(tokenHTMlElement);
}
console.log(tokenHTMLArray);
console.log(uniqueS);
// console.log(tokenHTMLArray);
// console.log(uniqueS);
for (let sId of uniqueS) {
let htmlSentence = `<span class="sentence" data-sid="${sId}"></span>`;
@ -300,7 +300,7 @@ class ResultsList extends List {
};
nrOfContextSentences.onchange = (event) => {
console.log(event.target.value);
// console.log(event.target.value);
this.changeSentenceContext(event.target.value);
}
@ -343,7 +343,7 @@ class ResultsList extends List {
let toHideArray;
let toShowArray;
sValue = maxSValue - sValue;
console.log(sValue);
// console.log(sValue);
sentences = document.getElementById("context-results").getElementsByClassName("sentence");
array = Array.from(sentences);
if (sValue != 0) {
@ -353,9 +353,9 @@ class ResultsList extends List {
toHideArray = [];
toShowArray = array;
}
console.log(array);
console.log("#######");
console.log(toHideArray);
// console.log(array);
// console.log("#######");
// console.log(toHideArray);
for (let s of toHideArray) {
s.classList.add("hide");
}