1
Fork 0
mirror of https://github.com/redstrate/Auracite.git synced 2025-04-22 12:47:45 +00:00

Remove duplicate download

This commit is contained in:
Joshua Goins 2024-11-01 19:50:18 -04:00
parent 50f23fe8ea
commit bf585ca802

View file

@ -11,7 +11,6 @@
init().then(() => { init().then(() => {
archive_character_base64(document.getElementById("name").value, document.getElementById("scales").checked).then((uri) => { archive_character_base64(document.getElementById("name").value, document.getElementById("scales").checked).then((uri) => {
// Download character archive // Download character archive
window.location.replace(uri);
var link = document.createElement('a'); var link = document.createElement('a');
link.download = document.getElementById("name").value + ".zip"; link.download = document.getElementById("name").value + ".zip";
link.href = uri; link.href = uri;