From 0ce949281c3be0ab574854b585315375faeb94c0 Mon Sep 17 00:00:00 2001 From: Franco Bulgarelli Date: Fri, 31 Jul 2020 12:06:04 -0300 Subject: [PATCH] Fixing this --- app/assets/javascripts/mumuki_laboratory/application/bridge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/mumuki_laboratory/application/bridge.js b/app/assets/javascripts/mumuki_laboratory/application/bridge.js index c6279cb3f..7a8fa7a34 100644 --- a/app/assets/javascripts/mumuki_laboratory/application/bridge.js +++ b/app/assets/javascripts/mumuki_laboratory/application/bridge.js @@ -54,7 +54,7 @@ mumuki.bridge = (() => { if(lastSubmission){ return $.Deferred().resolve(lastSubmission); } else { - return this._sendNewSolution(submission).done(function (result) { + return this._sendNewSolution(submission).done((result) => { mumuki.SubmissionsStore.setLastSubmission(mumuki.currentExerciseId, this._buildLastSubmission(submission, result)); }); }