accept jpeg

This commit is contained in:
j 2019-10-14 12:16:23 +01:00
parent ce423303d5
commit 413c98b039

View file

@ -404,7 +404,7 @@ pandora.createLinks = function($element) {
};
pandora.uploadDroppedFiles = function(files) {
var documentExtensions = ['pdf', /* 'epub', 'txt', */ 'png', 'gif', 'jpg'];
var documentExtensions = ['pdf', /* 'epub', 'txt', */ 'png', 'gif', 'jpg', 'jpeg'];
files = Ox.map(files, function(file) { return file });
if (files.every(function(file) {