Skip to content

Commit cd2c84a

Browse files
timea-solidTallTed
andauthored
Update src/widgets/dragAndDrop.js
Co-authored-by: Ted Thibodeau Jr <[email protected]>
1 parent 28cb8ab commit cd2c84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/dragAndDrop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import * as style from '../style'
1616

1717
export function makeDropTarget (ele, droppedURIHandler, droppedFileHandler) {
1818
const dragoverListener = function (e) {
19-
e.preventDefault() // Need else drop does not work [sic]
19+
e.preventDefault() // Need this; otherwise, drop does not work.
2020
e.dataTransfer.dropEffect = 'copy'
2121
}
2222

0 commit comments

Comments
 (0)