Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit fb45c96

Browse files
committed
Fix divid on logRunEvent
1 parent 4c7f27a commit fb45c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runestone/activecode/js/activecode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ ActiveCode.prototype.runProg = function() {
615615

616616
myPromise.then((function(mod) { // success
617617
$(this.runButton).removeAttr('disabled');
618-
this.logRunEvent({'div_id': this.id, 'code': prog, 'errinfo': 'success'}); // Log the run event
618+
this.logRunEvent({'div_id': this.divid, 'code': prog, 'errinfo': 'success'}); // Log the run event
619619
}).bind(this),
620620
(function(err) { // fail
621621
$(this.runButton).removeAttr('disabled');

0 commit comments

Comments
 (0)