mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-12 10:45:54 +00:00
fix(Map): removed comments
This commit is contained in:
@@ -6,12 +6,9 @@ export function saveTextFile(filename: string, content: string) {
|
||||
a.href = url;
|
||||
a.download = filename;
|
||||
|
||||
// эмулируем клик
|
||||
document.body.appendChild(a);
|
||||
a.click();
|
||||
document.body.removeChild(a);
|
||||
|
||||
// освобождаем URL
|
||||
URL.revokeObjectURL(url);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user