mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
Options: Using by default json as prefered file type for loading settings (#500)
This commit is contained in:
parent
00e94f9ae4
commit
3ab6366994
@ -96,6 +96,7 @@
|
||||
const text = await new Promise(function(resolve, reject){
|
||||
const input = document.createElement("input");
|
||||
input.type = "file";
|
||||
input.accept = "application/json";
|
||||
input.addEventListener("change", function(){
|
||||
if (this.files.length){
|
||||
const reader = new FileReader();
|
||||
|
Loading…
x
Reference in New Issue
Block a user