This commit is contained in:
j 2019-07-22 11:11:42 +02:00
parent 115f05625c
commit 0b8ea2d517

View file

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