Update index.js
This commit is contained in:
parent
9fe4b427a3
commit
0302d32f47
1 changed files with 1 additions and 1 deletions
|
@ -645,7 +645,7 @@ window.onload = () => {
|
||||||
json = { embed: {}, content: "" };
|
json = { embed: {}, content: "" };
|
||||||
embed.style.removeProperty('border-color');
|
embed.style.removeProperty('border-color');
|
||||||
picker.source.style.removeProperty('background');
|
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'));
|
document.querySelectorAll('.gui>.item').forEach(e => e.classList.add('active'));
|
||||||
content.focus();
|
content.focus();
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue