Skip to content

Commit

Permalink
maint: Remove Safari patch as it is already fixed upstream. See: drop…
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Nov 18, 2021
1 parent 5aac53c commit 67bcab9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/pat-upload.js
Expand Up @@ -60,19 +60,6 @@ export default Base.extend({
$(".upload-area", this.$el)[0],
this.getDzoneOptions()
);
// Apply the patch described here:
// https://github.com/enyo/dropzone/issues/1640
// https://gitlab.com/meno/dropzone/-/issues/48
this.dropzone.handleFiles = function (files) {
var _this5 = this;
var files_array = [];
for (var i = 0; i < files.length; i++) {
files_array.push(files[i]);
}
return files_array.map(function (file) {
return _this5.addFile(file);
});
};
} catch (e) {
if (window.DEBUG) {
console.log(e);
Expand Down

0 comments on commit 67bcab9

Please sign in to comment.