fixed image types

This commit is contained in:
Zuzanna Ludzik 2026-08-04 12:25:10 +02:00
parent 154ec4e854
commit aadf1d322b

View File

@ -2432,7 +2432,7 @@ define([
if (!files || !files.length) { return void cb([]); }
var checkFileFormat = function (file) {
return file.type === ('image/png' || 'image/jpg');
return (file.type === 'image/png' || file.type === 'image/jpeg');
};
if (!APP.FMImages) {