mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-28 08:48:39 +01:00
[bug] fix export blob type
This commit is contained in:
parent
d47b354039
commit
1a722901cc
@ -38,7 +38,7 @@ var data = (function() {
|
|||||||
var str = JSON.stringify(load());
|
var str = JSON.stringify(load());
|
||||||
var data = encode(str);
|
var data = encode(str);
|
||||||
var blob = new Blob([data], {
|
var blob = new Blob([data], {
|
||||||
type: 'application/octet-stream'
|
type: "application/json"
|
||||||
});
|
});
|
||||||
var url = URL.createObjectURL(blob);
|
var url = URL.createObjectURL(blob);
|
||||||
var link = document.createElement("a");
|
var link = document.createElement("a");
|
||||||
|
Loading…
Reference in New Issue
Block a user