Skip to content

Commit

Permalink
Update comment to remove ticket number
Browse files Browse the repository at this point in the history
  • Loading branch information
Amelia Magee committed Dec 4, 2024
1 parent 0dc1a7e commit 78e4e1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/DropZone/DropZone.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export default class DropZone {
// add processed files to file store
this.files = [...this.files, ...processedFiles];

//<QU-4501> We need to manually update the datatransfer.files object as it is not updated by the browser due to security reasons
//We need to manually update the datatransfer.files object as it is not updated by the browser due to security reasons
const dataTransfer = new DataTransfer();
let wasFile = false;
for (let i = 0; i < this.files.length; i++) {
Expand All @@ -123,7 +123,6 @@ export default class DropZone {
// this guard exists as some js tests do not provide a file type as the input value.
document.getElementById(this.options.inputNodeId).files = dataTransfer.files;
}
//</QU-4501>
}

// fire dropped callback
Expand Down

0 comments on commit 78e4e1e

Please sign in to comment.