- Notifications
You must be signed in to change notification settings - Fork22
Commit93e4edc
committed
Cancel drop event to prevent browser navigation
Firefox attempts navigation to the domain represented by the task listitem text.Once we've determined the drop event is a task list item dropping onto atask list, cancel any default browser behavior and handle the eventlocally. If the drop event is for something other than a list item,ignore it and allow the browser or another upstream event listener tohandle it.1 parent5aece37 commit93e4edc
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
Comments
(0)