Skip to content

Commit f757c2b

Browse files
authored
Merge pull request #19 from brunopicinin/fix-json-not-clearing-on-esc
Fix bug that keeps JSON points on screen even after pressing ESC
2 parents 1723197 + 2947015 commit f757c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ function writePoints(parentPoints) {
375375

376376
if (!parentPoints.length) {
377377
document.querySelector('#python').innerHTML = '';
378-
document.querySelector('#json').innerHTML;
378+
document.querySelector('#json').innerHTML = '';
379379
return;
380380
}
381381

0 commit comments

Comments
 (0)