Update index.html

This commit is contained in:
slweeb 2023-12-02 22:21:56 -05:00
parent 0805f199f4
commit 0049a9437e
1 changed files with 2 additions and 2 deletions

View File

@ -13748,7 +13748,7 @@ for (var k = 0; k < b0.split(" AND ").length; k++) {
var input = document.createElement("input");
input.type = "file";
input.accept = ".sbxls, .json, .txt";
input.onchange = e => {
input.addEventListener("change", function(e) {
var file = e.target.files[0];
var reader = new FileReader();
reader.readAsText(file,"UTF-8");
@ -13757,7 +13757,7 @@ for (var k = 0; k < b0.split(" AND ").length; k++) {
loadSave(JSON.parse(content));
}
closeMenu();
}
});
input.click();
}
function showSavePrompt() {