From 49b7f987091999469d4fc884602eaa5aa8255f77 Mon Sep 17 00:00:00 2001 From: nickago Date: Wed, 29 Jul 2015 14:40:55 -0700 Subject: Changed Update to Select, removed illegal spaces, and changed double quotes to single --- web/react/components/setting_picture.jsx | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'web') diff --git a/web/react/components/setting_picture.jsx b/web/react/components/setting_picture.jsx index 6cfb74d60..fa4c8bb62 100644 --- a/web/react/components/setting_picture.jsx +++ b/web/react/components/setting_picture.jsx @@ -7,8 +7,8 @@ module.exports = React.createClass({ var reader = new FileReader(); var img = this.refs.image.getDOMNode(); - reader.onload = function (e) { - $(img).attr('src', e.target.result) + reader.onload = function(e) { + $(img).attr('src', e.target.result); }; reader.readAsDataURL(file); @@ -25,27 +25,27 @@ module.exports = React.createClass({ var img = null; if (this.props.picture) { - img = (); + img = (); } else { - img = (); + img = (); } var self = this; return ( -