Skip to content

Commit 9c584b2

Browse files
committed
Merge branch 'rylan-patch-1'
2 parents 9d728cb + 85a4017 commit 9c584b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ angular
11661166
* Event handler
11671167
*/
11681168
FileDrop.prototype.onDragLeave = function(event) {
1169-
if (event.currentTarget !== this.element[0]) return;
1169+
if (event.currentTarget === this.element[0]) return;
11701170
this._preventAndStop(event);
11711171
angular.forEach(this.uploader._directives.over, this._removeOverClass, this);
11721172
};

0 commit comments

Comments
 (0)