indent fix

This commit is contained in:
2017-01-12 10:43:39 +01:00
parent fbf4fe1031
commit 6e89bacafe
@@ -4,9 +4,9 @@ App.FormFileUploadComponent = Ember.TextField.extend
type: 'file' type: 'file'
file: null, file: null,
change: (e)-> change: (e)->
reader = new FileReader() reader = new FileReader()
that = this that = this
reader.onload = (el)-> reader.onload = (el)->
fileToUpload = el.target.result fileToUpload = el.target.result
Ember.run -> that.set('file', fileToUpload) Ember.run -> that.set('file', fileToUpload)
reader.readAsDataURL(e.target.files[0]) reader.readAsDataURL(e.target.files[0])