mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.5.24 - don't append link on save
This commit is contained in:
parent
c874c74a72
commit
e4e40fab49
4 changed files with 0 additions and 8 deletions
|
|
@ -121,7 +121,6 @@ const saveScreenshot = async function() {
|
|||
const link = document.createElement("a");
|
||||
link.download = getFileName() + ".jpeg";
|
||||
link.href = URL;
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
tip(`Screenshot is saved. Open "Downloads" screen (CTRL + J) to check`, true, "success", 7000);
|
||||
window.setTimeout(() => window.URL.revokeObjectURL(URL), 5000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue