mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2024-12-17 19:18:35 +01:00
Use 3-space indentation instead of 4 in downloaded JSON
This is to match the indentation style of the JSON files created by aiserver.py which apparently use 3 space indentation...
This commit is contained in:
parent
8df2ccae5b
commit
e953f2d75e
@ -883,7 +883,7 @@ function downloadStory(format) {
|
|||||||
authorsnote: $("#anoteinput").val(),
|
authorsnote: $("#anoteinput").val(),
|
||||||
actions: actionlist_compiled,
|
actions: actionlist_compiled,
|
||||||
worldinfo: wilist_compiled,
|
worldinfo: wilist_compiled,
|
||||||
}, null, 4)]));
|
}, null, 3)]));
|
||||||
anchor.setAttribute('href', objectURL);
|
anchor.setAttribute('href', objectURL);
|
||||||
anchor.setAttribute('download', filename_without_extension + ".json");
|
anchor.setAttribute('download', filename_without_extension + ".json");
|
||||||
anchor.click();
|
anchor.click();
|
||||||
|
Loading…
Reference in New Issue
Block a user