lint fixes

This commit is contained in:
Marie Verdonck
2020-07-16 11:45:48 +02:00
parent 930512efaa
commit 9e095d09b6
5 changed files with 7 additions and 8 deletions

View File

@@ -67,8 +67,8 @@ export class MetadataImportPageComponent implements OnInit {
);
this.uploaderId = 'ds-drag-and-drop-uploader' + uniqueId();
this.isOverDocumentDropZone = observableOf(false);
window.addEventListener('drop', e => {
e && e.preventDefault();
window.addEventListener('drop', (e: DragEvent) => {
return e && e.preventDefault();
}, false);
this.uploader = new FileUploader({
// required, but using onFileDrop, not uploader