Stop code execution before starting score

This commit is contained in:
Sebastian Serth
2020-10-29 12:29:24 +01:00
parent d20692d3e8
commit 695b6ff373

View File

@ -6,6 +6,7 @@ CodeOceanEditorEvaluation = {
*/
scoreCode: function (event) {
event.preventDefault();
this.stopCode(event);
this.clearScoringOutput();
$('#submit').addClass("d-none");
this.createSubmission('#assess', null, function (response) {