intelliwaketssveltekitv25 1.0.27 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Functions.js +1 -2
- package/package.json +1 -1
package/dist/Functions.js
CHANGED
|
@@ -670,8 +670,7 @@ export function DownloadString(filename, text) {
|
|
|
670
670
|
export function DownloadURL(url, filename) {
|
|
671
671
|
const a = document.createElement('a');
|
|
672
672
|
a.href = url;
|
|
673
|
-
|
|
674
|
-
a.setAttribute('download', filename);
|
|
673
|
+
a.setAttribute('download', filename ?? '');
|
|
675
674
|
a.style.display = 'none';
|
|
676
675
|
document.body.appendChild(a);
|
|
677
676
|
a.click();
|