mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 10:34:17 +00:00
uncomment log messages
This commit is contained in:
parent
d9353e3d7d
commit
1c27c0a36c
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user