mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
fixed image types
This commit is contained in:
parent
154ec4e854
commit
aadf1d322b
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user