File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1155,7 +1155,7 @@ module
11551155 * Event handler
11561156 */
11571157 FileDrop . prototype . onDragLeave = function ( event ) {
1158- if ( event . target !== this . element [ 0 ] ) return ;
1158+ if ( event . currentTarget !== this . element [ 0 ] ) return ;
11591159 this . _preventAndStop ( event ) ;
11601160 angular . forEach ( this . uploader . _directives . over , this . _removeOverClass , this ) ;
11611161 } ;
@@ -1316,5 +1316,6 @@ module
13161316 }
13171317 } ;
13181318 } ] )
1319+
13191320 return module ;
13201321} ) ) ;
Original file line number Diff line number Diff line change @@ -1139,7 +1139,7 @@ module
11391139 * Event handler
11401140 */
11411141 FileDrop . prototype . onDragLeave = function ( event ) {
1142- if ( event . target !== this . element [ 0 ] ) return ;
1142+ if ( event . currentTarget !== this . element [ 0 ] ) return ;
11431143 this . _preventAndStop ( event ) ;
11441144 angular . forEach ( this . uploader . _directives . over , this . _removeOverClass , this ) ;
11451145 } ;
@@ -1299,4 +1299,4 @@ module
12991299 } ;
13001300 }
13011301 } ;
1302- } ] )
1302+ } ] )
You can’t perform that action at this time.
0 commit comments