Skip to content

Commit 14c2a3b

Browse files
author
Proger_XP
committed
Fixed findCompare() and opt.input check, minified, removed bower.json
1 parent c560573 commit 14c2a3b

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

bower.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

filedrop-min.js

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

filedrop.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@
863863
// for the support of uploads without File API, i.e. via <iframe> for
864864
// all but Firefox and Chrome. If such we're not creating the form and
865865
// other supportive elements.
866-
if (self.opt.input != false) {
866+
if (self.opt.input !== false) {
867867
self.opt.input = self.opt.input || self.prepareInput(zoneNode)
868868
self.opt.input && global.callAllOfObject(self, 'inputSetup', self.opt.input)
869869
}
@@ -1761,6 +1761,7 @@
17611761
self.each(function (f) {
17621762
if (value == null || value < (res = func.call(cx, file))) {
17631763
file = f
1764+
value = res
17641765
}
17651766
}, cx)
17661767

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "filedrop",
33
"main": "filedrop.js",
4-
"version": "2.0.0",
4+
"version": "2.1.0",
55
"homepage": "http://filedropjs.org",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)