From 80b052d654315b021482d53607e9eeac92058602 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Fri, 25 Nov 2022 23:43:29 -0500 Subject: [PATCH] Auto pretty json on load --- src/utilities/base64.js | 1 - src/utilities/json.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utilities/base64.js b/src/utilities/base64.js index 1de7a2d..026dcd2 100644 --- a/src/utilities/base64.js +++ b/src/utilities/base64.js @@ -20,6 +20,5 @@ $(document).ready(function() { if(last_input != null) { $('#input').val(last_input); } - $('#input').change(); }); diff --git a/src/utilities/json.js b/src/utilities/json.js index 00821c2..1e0a6a4 100644 --- a/src/utilities/json.js +++ b/src/utilities/json.js @@ -23,6 +23,6 @@ $(document).ready(function() { if(last_input != null) { $('#input').val(last_input); } - $('#input').change(); + $('#pretty').click(); });