diff --git a/public/js/upload_queue.js b/public/js/upload_queue.js index 54384f6..506a64b 100644 --- a/public/js/upload_queue.js +++ b/public/js/upload_queue.js @@ -18,7 +18,7 @@ class UploadQueue { this.submit.disabled = false; }; - if (this.queue.files[0].name.includes(".HEIC")) { + if (this.queue.files[0].name.toUpperCase().endsWith(".HEIC")) { alert('Sorry, the HEIC image format is not supported.\nPlease convert your photos to JPEG before uploading.'); this.hideSpinner(); this.submit.disabled = false;