We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9d728cb + 85a4017 commit 9c584b2Copy full SHA for 9c584b2
src/module.js
@@ -1166,7 +1166,7 @@ angular
1166
* Event handler
1167
*/
1168
FileDrop.prototype.onDragLeave = function(event) {
1169
- if (event.currentTarget !== this.element[0]) return;
+ if (event.currentTarget === this.element[0]) return;
1170
this._preventAndStop(event);
1171
angular.forEach(this.uploader._directives.over, this._removeOverClass, this);
1172
};
0 commit comments