We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a2ea99 commit e0fe266Copy full SHA for e0fe266
1 file changed
edu-python-questions.js
@@ -62,6 +62,14 @@ $(document).ready(function() {
62
appMode = 'edit';
63
}
64
65
+ // if there's no curTrace, then default to edit mode since there's
66
+ // nothing to visualize or grade:
67
+ if (!curTrace) {
68
+ appMode = 'edit';
69
+ $.bbq.pushState({ mode: 'edit' });
70
+ }
71
+
72
73
if (appMode == 'edit') {
74
$("#pyInputPane").show();
75
$("#pyOutputPane").hide();
0 commit comments