Skip to content

Commit c4880ea

Browse files
committed
disable edit annotations by default
1 parent e23ec52 commit c4880ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎v3/js/pytutor.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ var curVisualizerID = 1; // global to uniquely identify each ExecutionVisualizer
7676
// codeDivHeight - maximum height of #pyCodeOutputDiv (in integer pixels)
7777
// codeDivWidth - maximum width of #pyCodeOutputDiv (in integer pixels)
7878
// editCodeBaseURL - the base URL to visit when the user clicks 'Edit code' (if null, then 'Edit code' link hidden)
79-
// allowEditAnnotations - allow user to edit per-step annotations (default: true)
79+
// allowEditAnnotations - allow user to edit per-step annotations (default: false)
8080
// embeddedMode - shortcut for hideOutput=true, allowEditAnnotations=false
8181
// codeDivWidth=350, codeDivHeight=400
8282
// updateOutputCallback - function to call (with 'this' as parameter)
@@ -268,7 +268,7 @@ ExecutionVisualizer.prototype.render = function() {
268268
this.allowEditAnnotations = this.params.allowEditAnnotations;
269269
}
270270
else {
271-
this.allowEditAnnotations = true;
271+
this.allowEditAnnotations = false;
272272
}
273273

274274

0 commit comments

Comments
 (0)