Fix export config and web status page
This commit is contained in:
@@ -184,5 +184,9 @@ if (!window.isSecureContext) {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hidden">
|
||||
<a id="download"></a>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -582,7 +582,7 @@
|
||||
}
|
||||
function downloadData(data, name) {
|
||||
let url = "data:application/octet-stream," + encodeURIComponent(JSON.stringify(data, undefined, 2));
|
||||
let target = document.getElementById('downloadXdr');
|
||||
let target = document.getElementById('download');
|
||||
if (!target) return;
|
||||
target.setAttribute('href', url);
|
||||
target.setAttribute('download', name);
|
||||
|
||||
Reference in New Issue
Block a user