update
This commit is contained in:
parent
3d316fab7d
commit
732f670b33
1 changed files with 5 additions and 0 deletions
5
fetch.js
5
fetch.js
|
@ -89,6 +89,11 @@ function parseAnswerElement(index, element, allAnswersElement) {
|
||||||
const answersElement = getAnswersElement(index, allAnswersElement);
|
const answersElement = getAnswersElement(index, allAnswersElement);
|
||||||
if (answersElement === null || answersElement.tagName === "UL") return;
|
if (answersElement === null || answersElement.tagName === "UL") return;
|
||||||
|
|
||||||
|
console.log({
|
||||||
|
question: questionText,
|
||||||
|
answers: getAnswers(answersElement),
|
||||||
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
question: questionText,
|
question: questionText,
|
||||||
answers: getAnswers(answersElement),
|
answers: getAnswers(answersElement),
|
||||||
|
|
Loading…
Reference in a new issue