diff --git a/client/js/controls/file_dropper_control.js b/client/js/controls/file_dropper_control.js index 300b283e..113e7aca 100644 --- a/client/js/controls/file_dropper_control.js +++ b/client/js/controls/file_dropper_control.js @@ -65,7 +65,7 @@ class FileDropperControl extends events.EventTarget { if (!url) { return; } - if (!url.match(/^https:?\/\/[^.]+\..+$/)) { + if (!url.match(/^https?:\/\/[^.]+\..+$/)) { window.alert(`"${url}" does not look like a valid URL.`); return; }