add todos

This commit is contained in:
Jakob Ketterl
2021-02-08 23:30:44 +01:00
parent a1c024bfe2
commit 4df5f19bd6
2 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,7 @@ $.fn.imageUpload = function() {
input.onchange = function(e) {
var reader = new FileReader()
// TODO: implement file size check
reader.readAsArrayBuffer(e.target.files[0]);
reader.onload = function(e) {
$.ajax({