From 0302d32f47871f79e5e393b4d09066e069afca85 Mon Sep 17 00:00:00 2001 From: Lorem Ipsum Date: Fri, 15 Jan 2021 23:20:39 +0000 Subject: [PATCH] Update index.js --- assets/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/index.js b/assets/js/index.js index 02994fa..6eff4cf 100644 --- a/assets/js/index.js +++ b/assets/js/index.js @@ -645,7 +645,7 @@ window.onload = () => { json = { embed: {}, content: "" }; embed.style.removeProperty('border-color'); picker.source.style.removeProperty('background'); - update(json); buildGui(json); editor.setValue(JSON.stringify(json)); + update(json); buildGui(json); editor.setValue(JSON.stringify(json, null, 4)); document.querySelectorAll('.gui>.item').forEach(e => e.classList.add('active')); content.focus(); })