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 3ae63ec commit 1d0b225Copy full SHA for 1d0b225
src/assets/netteForms.js
@@ -540,7 +540,7 @@
540
if (window.FileList && val instanceof window.FileList) {
541
for (var i = 0; i < val.length; i++) {
542
var type = val[i].type;
543
- 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') {
544
return false;
545
}
546
0 commit comments