summaryrefslogtreecommitdiff
path: root/js/codeq/prolog.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq/prolog.js')
-rw-r--r--js/codeq/prolog.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js
index 017dee2..a42bfc3 100644
--- a/js/codeq/prolog.js
+++ b/js/codeq/prolog.js
@@ -344,8 +344,11 @@
.done();
});
+ codeq.comms.loadProblem(problemDef.id).done();
+
return {
destroy: function () {
+ codeq.comms.endProblem().done();
$('#screen_prolog .title').text('');//empty the title text
jqAllButtons.off();
editor.off('change');