aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cockpit.js7
-rw-r--r--src/graduation-common.ts2
2 files changed, 2 insertions, 7 deletions
diff --git a/src/cockpit.js b/src/cockpit.js
index 900d843..f648d63 100644
--- a/src/cockpit.js
+++ b/src/cockpit.js
@@ -23,12 +23,7 @@ async function loadStudent(studentToLoad) {
}
function initStudentSelection() {
- initSelection(
- "student-selection",
- fetchStudents,
- (student) => `${student.name}`,
- loadStudent,
- );
+ initSelection("student-selection", fetchStudents, (student) => `${student.name}`, loadStudent);
}
function pointClickHandler(color) {
diff --git a/src/graduation-common.ts b/src/graduation-common.ts
index 6ef0031..0652c59 100644
--- a/src/graduation-common.ts
+++ b/src/graduation-common.ts
@@ -226,7 +226,7 @@ class Graduation {
*
* Negative values are not possible. Positive points earned after any negativ
* points always count. Two consecutive orange points followed by a single
- * green point will result in one netto point.
+ * green point will result in one netto point.
*/
getNettoPoints(): number {
return this.nettoPoints;