Auto pretty json on load

This commit is contained in:
Tyler Perkins 2022-11-25 23:43:29 -05:00
parent 2b9f635c80
commit 80b052d654
2 changed files with 1 additions and 2 deletions

View File

@ -20,6 +20,5 @@ $(document).ready(function() {
if(last_input != null) { if(last_input != null) {
$('#input').val(last_input); $('#input').val(last_input);
} }
$('#input').change();
}); });

View File

@ -23,6 +23,6 @@ $(document).ready(function() {
if(last_input != null) { if(last_input != null) {
$('#input').val(last_input); $('#input').val(last_input);
} }
$('#input').change(); $('#pretty').click();
}); });