Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 332f6cb

Browse files
committed
simplify value initialization; fixes #4
1 parent cd66bf9 commit 332f6cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uploader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function uiUploader($log) {
6969
}
7070

7171
function ajaxUpload(file, url, data) {
72-
var xhr, formData, prop, key = '' || 'file';
72+
var xhr, formData, prop, key = 'file';
7373
data = data || {};
7474

7575
self.activeUploads += 1;

0 commit comments

Comments
 (0)