remove check for uploads on browse
This commit is contained in:
parent
e4301963a2
commit
80cf343516
@ -81,13 +81,6 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
file = event.originalEvent.dataTransfer.files[0];
|
file = event.originalEvent.dataTransfer.files[0];
|
||||||
} else {
|
} else {
|
||||||
if (event.target.files.length > 1){
|
|
||||||
document.l10n.formatValue('uploadPageMultipleFilesAlert')
|
|
||||||
.then(str => {
|
|
||||||
alert(str);
|
|
||||||
});
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
file = event.target.files[0];
|
file = event.target.files[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user