fix: sxcu name
This commit is contained in:
parent
6d49463dad
commit
a97ace6e73
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ export default function ShareX({ user, open, setOpen }) {
|
||||||
'href',
|
'href',
|
||||||
'data:application/json;charset=utf-8,' + encodeURIComponent(JSON.stringify(config, null, '\t'))
|
'data:application/json;charset=utf-8,' + encodeURIComponent(JSON.stringify(config, null, '\t'))
|
||||||
);
|
);
|
||||||
pseudoElement.setAttribute('download', 'zipline.sxcu');
|
pseudoElement.setAttribute('download', `zipline${values.type === 'upload-file' ? '' : '-url'}.sxcu`);
|
||||||
pseudoElement.style.display = 'none';
|
pseudoElement.style.display = 'none';
|
||||||
document.body.appendChild(pseudoElement);
|
document.body.appendChild(pseudoElement);
|
||||||
pseudoElement.click();
|
pseudoElement.click();
|
||||||
|
|
Loading…
Reference in a new issue