mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +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)
|
tokenHTMlElement = this.HTMLTStrToElement(htmlTokenStr)
|
||||||
tokenHTMLArray.push(tokenHTMlElement);
|
tokenHTMLArray.push(tokenHTMlElement);
|
||||||
}
|
}
|
||||||
console.log(tokenHTMLArray);
|
// console.log(tokenHTMLArray);
|
||||||
console.log(uniqueS);
|
// console.log(uniqueS);
|
||||||
|
|
||||||
for (let sId of uniqueS) {
|
for (let sId of uniqueS) {
|
||||||
let htmlSentence = `<span class="sentence" data-sid="${sId}"></span>`;
|
let htmlSentence = `<span class="sentence" data-sid="${sId}"></span>`;
|
||||||
@ -300,7 +300,7 @@ class ResultsList extends List {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nrOfContextSentences.onchange = (event) => {
|
nrOfContextSentences.onchange = (event) => {
|
||||||
console.log(event.target.value);
|
// console.log(event.target.value);
|
||||||
this.changeSentenceContext(event.target.value);
|
this.changeSentenceContext(event.target.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -343,7 +343,7 @@ class ResultsList extends List {
|
|||||||
let toHideArray;
|
let toHideArray;
|
||||||
let toShowArray;
|
let toShowArray;
|
||||||
sValue = maxSValue - sValue;
|
sValue = maxSValue - sValue;
|
||||||
console.log(sValue);
|
// console.log(sValue);
|
||||||
sentences = document.getElementById("context-results").getElementsByClassName("sentence");
|
sentences = document.getElementById("context-results").getElementsByClassName("sentence");
|
||||||
array = Array.from(sentences);
|
array = Array.from(sentences);
|
||||||
if (sValue != 0) {
|
if (sValue != 0) {
|
||||||
@ -353,9 +353,9 @@ class ResultsList extends List {
|
|||||||
toHideArray = [];
|
toHideArray = [];
|
||||||
toShowArray = array;
|
toShowArray = array;
|
||||||
}
|
}
|
||||||
console.log(array);
|
// console.log(array);
|
||||||
console.log("#######");
|
// console.log("#######");
|
||||||
console.log(toHideArray);
|
// console.log(toHideArray);
|
||||||
for (let s of toHideArray) {
|
for (let s of toHideArray) {
|
||||||
s.classList.add("hide");
|
s.classList.add("hide");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user