mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
adding url dialog
This commit is contained in:
parent
298aba29ff
commit
6f63da0bc7
4 changed files with 86 additions and 3 deletions
2
main.js
2
main.js
|
|
@ -542,7 +542,7 @@ function addDragToUpload() {
|
|||
function postload() {
|
||||
|
||||
let success = false;
|
||||
if(params.get("from")==="GIST"){
|
||||
if(params.get("from")==="url"){
|
||||
console.time("loadURL");
|
||||
console.log("Loading URL");
|
||||
fetch(params.get("url"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue