mirror of
https://github.com/mue/mue.git
synced 2026-07-08 21:24:57 +02:00
bug fixes
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
const defaultSettings = require('../default_settings.json');
|
||||
|
||||
const saveFile = (data, filename = 'file') => {
|
||||
if (typeof data === 'object') data = JSON.stringify(data, undefined, 4);
|
||||
if (typeof data === 'object') {
|
||||
data = JSON.stringify(data, undefined, 4);
|
||||
}
|
||||
|
||||
const blob = new Blob([data], { type: 'text/json' });
|
||||
let e = document.createEvent('MouseEvents');
|
||||
|
||||
Reference in New Issue
Block a user