Added file upload
This commit is contained in:
parent
4dd61c825a
commit
244f689afc
6 changed files with 45 additions and 6 deletions
|
|
@ -82,4 +82,9 @@ function requestUsernameAvailability(u, callback){
|
|||
}
|
||||
}
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
function attachFileInput(){
|
||||
var fileInput = document.getElementById('fileInputContainer');
|
||||
fileInput.innerHTML = '<input type="file" accept="image/*" name="file">';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue