diff --git a/frontend/src/upload.js b/frontend/src/upload.js index ca8835e5..6d658505 100644 --- a/frontend/src/upload.js +++ b/frontend/src/upload.js @@ -145,9 +145,6 @@ $(document).ready(function() { if (event.type === 'drop') { if (!event.originalEvent.dataTransfer.files[0]) { $('.upload-window').removeClass('ondrag'); - document.l10n.formatValue('uploadValidFile').then(str => { - alert(str); - }); return; } if ( diff --git a/public/locales/send.en-US.ftl b/public/locales/send.en-US.ftl index c9a9503d..bf6bae19 100644 --- a/public/locales/send.en-US.ftl +++ b/public/locales/send.en-US.ftl @@ -11,7 +11,6 @@ uploadPageSizeMessage = For the most reliable operation, it’s best to keep you uploadPageBrowseButton = Select a file on your computer .title = {uploadPageBrowseButtonTitle} uploadPageMultipleFilesAlert = Uploading multiple files or a folder is currently not supported. -uploadValidFile = Please drag a valid file to upload. uploadPageBrowseButtonTitle = Upload file