File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -172,12 +172,12 @@ export default Base.extend({
172172 var $handle = $ ( ev . target ) ;
173173 var $dragged = $handle . parent ( ) ;
174174 var that = this ;
175- if ( ev . originalEvent ?. dataTransfer ) {
175+ if ( ev . dataTransfer ) {
176176 // Firefox seems to need this set to any value
177- ev . originalEvent . dataTransfer ? .setData ( "Text" , "" ) ;
178- ev . originalEvent . dataTransfer . effectAllowed = [ "move" ] ;
179- if ( "setDragImage" in ev . originalEvent . dataTransfer ) {
180- ev . originalEvent . dataTransfer . setDragImage ( $dragged [ 0 ] , 0 , 0 ) ;
177+ ev . dataTransfer . setData ( "Text" , "" ) ;
178+ ev . dataTransfer . effectAllowed = [ "move" ] ;
179+ if ( "setDragImage" in ev . dataTransfer ) {
180+ ev . dataTransfer . setDragImage ( $dragged [ 0 ] , 0 , 0 ) ;
181181 }
182182 }
183183 $dragged . addClass ( this . options . dragClass ) ;
You can’t perform that action at this time.
0 commit comments