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'
file: null,
change: (e)->
reader = new FileReader()
that = this
reader.onload = (el)->
fileToUpload = el.target.result
Ember.run -> that.set('file', fileToUpload)
reader.readAsDataURL(e.target.files[0])
reader = new FileReader()
that = this
reader.onload = (el)->
fileToUpload = el.target.result
Ember.run -> that.set('file', fileToUpload)
reader.readAsDataURL(e.target.files[0])