forked from 0x2620/pandora
space
This commit is contained in:
parent
115f05625c
commit
0b8ea2d517
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue