More Moving

This commit is contained in:
Kyle
2018-10-13 10:22:46 -07:00
parent 88fd6fed52
commit 2c3ad26169
172 changed files with 0 additions and 0 deletions

11
data/scripts/loadImage.js Normal file
View File

@@ -0,0 +1,11 @@
function loadImage(event, destination, arg) {
if (arg != false) {
var input = event.target
var reader = new FileReader()
reader.onload = function() {
var dataURL = reader.result
destination.src = dataURL
}
reader.readAsDataURL(input.files[0])
}
}