mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
Guessing correct fix
This commit is contained in:
parent
f7cc4378ab
commit
17877b8053
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@
|
||||||
function getIfSolutionIsCorrect(node) {
|
function getIfSolutionIsCorrect(node) {
|
||||||
const gradeText = node.getElementsByClassName('grade')[0].innerText
|
const gradeText = node.getElementsByClassName('grade')[0].innerText
|
||||||
const stateText = node.getElementsByClassName('state')[0].innerText
|
const stateText = node.getElementsByClassName('state')[0].innerText
|
||||||
return stateText.includes('Helyes') || !gradeText.includes('0,00')
|
return !(stateText.includes('Helyes') || !gradeText.includes('0,00'))
|
||||||
}
|
}
|
||||||
|
|
||||||
function getPossibleAnswers(node) {
|
function getPossibleAnswers(node) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue