From: Benjamin Auder Date: Mon, 5 Feb 2018 14:16:15 +0000 (+0100) Subject: typo X-Git-Url: https://git.auder.net/js/pieces/scripts/current/doc/index.css?a=commitdiff_plain;h=4a4a64970d7ee507fe100f18f0e64c1de7223af0;p=qomet.git typo --- 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