diff --git a/src/js/dropify.js b/src/js/dropify.js index c078a76..39ea6ad 100644 --- a/src/js/dropify.js +++ b/src/js/dropify.js @@ -384,7 +384,7 @@ Dropify.prototype.isTouchDevice = function() */ Dropify.prototype.getFileType = function() { - return this.file.name.split('.').pop().toLowerCase(); + return this.file.name.split('.').pop().split(/\#|\?/).shift().toLowerCase(); }; /**