Browse Source

refactor: remove alert created for debug

lairaalmas 1 year ago
parent
commit
97ebef314f
1 changed files with 0 additions and 4 deletions
  1. 0 4
      js/moodle/integrationFunctions.js

+ 0 - 4
js/moodle/integrationFunctions.js

@@ -112,10 +112,6 @@ function getEvaluation() {
     for (i = 0; i < moodleVar.hits.length && moodleVar.hits[i] == 1; i++);
     for (i = 0; i < moodleVar.hits.length && moodleVar.hits[i] == 1; i++);
     const grade = i / 4;
     const grade = i / 4;
     return grade;
     return grade;
-  } else {
-    alert(
-      "(getEvaluation) I'm a professor getting an evaluation (getEvaluation())"
-    );
   }
   }
 }
 }