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 193723f commit 57bdf48Copy full SHA for 57bdf48
live-form-validation.js
@@ -1052,7 +1052,7 @@
1052
if (window.FileList && val instanceof window.FileList) {
1053
for (var i = 0; i < val.length; i++) {
1054
var type = val[i].type;
1055
- if (type && type !== 'image/gif' && type !== 'image/png' && type !== 'image/jpeg') {
+ if (type && type !== 'image/gif' && type !== 'image/png' && type !== 'image/jpeg' && type !== 'image/webp') {
1056
return false;
1057
}
1058
0 commit comments