diff --git a/dist/main.css b/dist/main.css index 6b3d31c..00197a6 100644 Binary files a/dist/main.css and b/dist/main.css differ diff --git a/dist/main.js b/dist/main.js index 4a0ca5f..a4b7f00 100644 Binary files a/dist/main.js and b/dist/main.js differ diff --git a/src/scripts/upload.js b/src/scripts/upload.js index e59200b..e50f425 100755 --- a/src/scripts/upload.js +++ b/src/scripts/upload.js @@ -234,9 +234,10 @@ upload.start = { }, - url: function() { + url: function(url = '') { - var albumID = album.getID(), + var albumID = album.getID(), + url = (typeof url === 'string' ? url : ''), action; if (albumID===false) albumID = 0; @@ -293,7 +294,7 @@ upload.start = { } basicModal.show({ - body: "
Please enter the direct link to a photo to import it:
", + body: "Please enter the direct link to a photo to import it:
", buttons: { action: { title: 'Import',