We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 728e4ad commit 0392a68Copy full SHA for 0392a68
3 files changed
v3/css/opt-frontend.css
@@ -63,7 +63,7 @@ button.smallBtn {
63
}
64
65
button.bigBtn {
66
- font-size: 13pt;
+ font-size: 12pt;
67
padding: 6px;
68
margin-top: 6px;
69
v3/js/opt-frontend.js
@@ -231,6 +231,10 @@ $(document).ready(function() {
231
$("#executeBtn").attr('disabled', false);
232
$("#executeBtn").click(executeCodeFromScratch);
233
234
+ $("#clearBtn").click(function() {
235
+ pyInputCodeMirror.setValue('');
236
+ });
237
+
238
239
// canned examples
240
v3/visualize.html
@@ -104,6 +104,7 @@
104
105
<p>
106
<button id="executeBtn" class="bigBtn" type="button">Visualize Execution</button>
107
+<button style="margin-left: 10px;" id="clearBtn" class="bigBtn" type="button">Clear</button>
108
</p>
109
110
0 commit comments