parent
ddee544ec0
commit
2592fc8ed0
@ -3046,7 +3046,7 @@
|
||||
reader.onload = function(e) {
|
||||
var data, err;
|
||||
try {
|
||||
data = JSON.parse(decodeURIComponent(escape(e.target.result)));
|
||||
data = JSON.parse(e.target.result);
|
||||
Options.loadSettings(data);
|
||||
if (confirm('Import successful. Refresh now?')) {
|
||||
return window.location.reload();
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
master
|
||||
- Mayhem
|
||||
Fix importing settings containing unicode characters.
|
||||
|
||||
2.39.1
|
||||
- Mayhem
|
||||
|
||||
@ -2465,7 +2465,7 @@ Options =
|
||||
reader = new FileReader()
|
||||
reader.onload = (e) ->
|
||||
try
|
||||
data = JSON.parse decodeURIComponent escape e.target.result
|
||||
data = JSON.parse e.target.result
|
||||
Options.loadSettings data
|
||||
if confirm 'Import successful. Refresh now?'
|
||||
window.location.reload()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user