Skip to content

Commit

Permalink
tweaked chosen mime type feedback to be less error like.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Sep 18, 2024
1 parent fdbc3f7 commit 271201d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assets/js/uploader-advanced.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async function checkFile() {

function checkMime(file) {
if (mime(file.type)) {
return `The chosen file mime type ${file.type} is probably not suitable for an upload.`;
return `The chosen file mime type ${file.type} might not be suitable for an upload.`;
}
return ``;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/uploader-image.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async function checkFile() {

function checkMime(file) {
if (!mime(file.type)) {
return `The chosen file mime type ${file.type} is probably not suitable for an image.`;
return `The chosen file mime type ${file.type} might not be suitable for an image.`;
}
return ``;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/uploader-intro.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async function checkFile() {

function checkMime(file) {
if (!mime(file.type)) {
return `The chosen file mime type ${file.type} is probably not suitable for an intro.`;
return `The chosen file mime type ${file.type} might not be suitable for an intro.`;
}
return ``;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/uploader-magazine.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async function checkFile() {

function checkMime(file) {
if (!mime(file.type)) {
return `The chosen file mime type ${file.type} is probably not suitable for an image.`;
return `The chosen file mime type ${file.type} might not be suitable for an image.`;
}
return ``;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/uploader-text.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function checkFile() {

function checkMime(file) {
if (!mime(file.type)) {
return `The chosen file mime type ${file.type} is probably not suitable for a text.`;
return `The chosen file mime type ${file.type} might not be suitable for a text.`;
}
return ``;
}
Expand Down
2 changes: 1 addition & 1 deletion assets/js/uploader-trainer.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function checkFile() {

function checkMime(file) {
if (!mime(file.type)) {
return `The chosen file mime type ${file.type} is probably not suitable for an intro.`;
return `The chosen file mime type ${file.type} might not be suitable for an intro.`;
}
return ``;
}
Expand Down
2 changes: 1 addition & 1 deletion public/js/uploader.min.js

Large diffs are not rendered by default.

0 comments on commit 271201d

Please sign in to comment.