Commit 93e4edc
committed
Cancel drop event to prevent browser navigation
Firefox attempts navigation to the domain represented by the task list
item text.
Once we've determined the drop event is a task list item dropping onto a
task list, cancel any default browser behavior and handle the event
locally. If the drop event is for something other than a list item,
ignore it and allow the browser or another upstream event listener to
handle it.1 parent 5aece37 commit 93e4edc
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| |||
0 commit comments