We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b3ceb8 commit f96ace3Copy full SHA for f96ace3
plugins/image-dialog/image-dialog.js
@@ -129,7 +129,7 @@
129
130
fileInput.bind("change", function() {
131
var fileName = fileInput.val();
132
- var isImage = new RegExp("(\\.(" + settings.imageFormats.join("|") + "))$"); // /(\.(webp|jpg|jpeg|gif|bmp|png))$/
+ var isImage = new RegExp("(\\.(" + settings.imageFormats.join("|") + "))$", "i"); // /(\.(webp|jpg|jpeg|gif|bmp|png))$/
133
134
if (fileName === "")
135
{
0 commit comments