mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-29 13:00:12 +02:00
web/TransferSettings: pretty formatting
This commit is contained in:
parent
e7587a2ec6
commit
2c4ba96d57
@ -87,9 +87,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
const exportSettings = () => {
|
const exportSettings = () => {
|
||||||
const blob = new Blob([JSON.stringify($storedSettings, null, 2)], {
|
const blob = new Blob(
|
||||||
type: "application/json",
|
[JSON.stringify($storedSettings, null, 2)],
|
||||||
});
|
{ type: "application/json" }
|
||||||
|
);
|
||||||
|
|
||||||
const pseudolink = document.createElement("a");
|
const pseudolink = document.createElement("a");
|
||||||
pseudolink.href = URL.createObjectURL(blob);
|
pseudolink.href = URL.createObjectURL(blob);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user