From 17877b805359bc56f182c8a4fbc78a354266df1b Mon Sep 17 00:00:00 2001 From: mrfry Date: Fri, 25 Dec 2020 09:33:30 +0100 Subject: [PATCH] Guessing correct fix --- stable.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stable.user.js b/stable.user.js index 08095a0..25f12a5 100755 --- a/stable.user.js +++ b/stable.user.js @@ -748,7 +748,7 @@ function getIfSolutionIsCorrect(node) { const gradeText = node.getElementsByClassName('grade')[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) {