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
1155
1155
* Event handler
1156
1156
*/
1157
1157
FileDrop . prototype . onDragLeave = function ( event ) {
1158
- if ( event . target !== this . element [ 0 ] ) return ;
1158
+ if ( event . currentTarget !== this . element [ 0 ] ) return ;
1159
1159
this . _preventAndStop ( event ) ;
1160
1160
angular . forEach ( this . uploader . _directives . over , this . _removeOverClass , this ) ;
1161
1161
} ;
@@ -1316,5 +1316,6 @@ module
1316
1316
}
1317
1317
} ;
1318
1318
} ] )
1319
+
1319
1320
return module ;
1320
1321
} ) ) ;
Original file line number Diff line number Diff line change @@ -1139,7 +1139,7 @@ module
1139
1139
* Event handler
1140
1140
*/
1141
1141
FileDrop . prototype . onDragLeave = function ( event ) {
1142
- if ( event . target !== this . element [ 0 ] ) return ;
1142
+ if ( event . currentTarget !== this . element [ 0 ] ) return ;
1143
1143
this . _preventAndStop ( event ) ;
1144
1144
angular . forEach ( this . uploader . _directives . over , this . _removeOverClass , this ) ;
1145
1145
} ;
@@ -1299,4 +1299,4 @@ module
1299
1299
} ;
1300
1300
}
1301
1301
} ;
1302
- } ] )
1302
+ } ] )
You can’t perform that action at this time.
0 commit comments