forked from 0x2620/pandora
accept jpeg
This commit is contained in:
parent
ce423303d5
commit
413c98b039
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue