Skip to content

Commit

Permalink
regression fix
Browse files Browse the repository at this point in the history
  • Loading branch information
georgipeltekov committed Mar 7, 2023
1 parent a844b50 commit adcb504
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/ngx-file-drop/ngx-file-drop.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,15 @@ export class NgxFileDropComponent implements OnDestroy {
if (!item) {
return;
}
if ("getAsFile" in item) {
const file = item.getAsFile();
if (file) {
this.addToQueue(
this.getFakeDropEntry(file)
);
return;
}
}
// if ("getAsFile" in item) {
// const file = item.getAsFile();
// if (file) {
// this.addToQueue(
// this.getFakeDropEntry(file)
// );
// return;
// }
// }
if ("webkitGetAsEntry" in item) {
let entry = item.webkitGetAsEntry();
if (entry) {
Expand Down

0 comments on commit adcb504

Please sign in to comment.