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(),
|
||||
actions: actionlist_compiled,
|
||||
worldinfo: wilist_compiled,
|
||||
}, null, 4)]));
|
||||
}, null, 3)]));
|
||||
anchor.setAttribute('href', objectURL);
|
||||
anchor.setAttribute('download', filename_without_extension + ".json");
|
||||
anchor.click();
|
||||
|
|
Loading…
Reference in New Issue