From 4a4a64970d7ee507fe100f18f0e64c1de7223af0 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Mon, 5 Feb 2018 15:16:15 +0100
Subject: [PATCH] typo

---
 public/javascripts/assessment.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/javascripts/assessment.js b/public/javascripts/assessment.js
index faf159c..aced6f2 100644
--- a/public/javascripts/assessment.js
+++ b/public/javascripts/assessment.js
@@ -219,9 +219,9 @@ let V = new Vue({
 		// TODO: I don't like that + sending should not be definitive in exam mode with display = all
 		sendAnswer: function() {
 			if (assessment.display == "one")
-				sendOneAnswer();
+				this.sendOneAnswer();
 			else
-				assessment.questions.forEach(sendOneAnswer);
+				assessment.questions.forEach(this.sendOneAnswer);
 		},
 		// stage 2 --> 3 (or 4)
 		// from a message by statements component, or time over
-- 
2.44.0