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:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user