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:
Gnome Ann 2021-09-19 23:48:04 -04:00
parent 8df2ccae5b
commit e953f2d75e
1 changed files with 1 additions and 1 deletions

View File

@ -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();