Skip to content

Commit bd1bc4e

Browse files
committed
built with patch
1 parent 0180783 commit bd1bc4e

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

angular-file-upload.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/*
2-
angular-file-upload v1.1.5
3-
https://github.com/nervgh/angular-file-upload
4-
*/
1+
/*
2+
angular-file-upload v1.1.5
3+
https://github.com/nervgh/angular-file-upload
4+
*/
55
(function(angular, factory) {
66
if (typeof define === 'function' && define.amd) {
77
define('angular-file-upload', ['angular'], function(angular) {
@@ -13,7 +13,7 @@
1313
}(typeof angular === 'undefined' ? null : angular, function(angular) {
1414

1515
var module = angular.module('angularFileUpload', []);
16-
16+
1717
'use strict';
1818

1919
/**
@@ -1166,7 +1166,7 @@ module
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
};
@@ -1327,6 +1327,6 @@ module
13271327
}
13281328
};
13291329
}])
1330-
1330+
13311331
return module;
13321332
}));

0 commit comments

Comments
 (0)