Skip to content

Commit

Permalink
Fix dragging on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
norpan committed Mar 25, 2017
1 parent df41e3b commit a149ff2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Html5/DragDrop.elm
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ draggable wrap drag =
[ attribute "draggable" "true"
, on "dragstart" <| Json.succeed <| wrap <| DragStart drag
, on "dragend" <| Json.succeed <| wrap <| DragEnd
, attribute "ondragstart" "event.dataTransfer.setData('text/plain', '');"
]


Expand Down

0 comments on commit a149ff2

Please sign in to comment.