summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-04-25 05:39:25 -0700
committerJoram Wilander <jwawilander@gmail.com>2016-04-25 08:39:25 -0400
commit10459480650d82501bc7682696e3b060f29a8cd5 (patch)
treea920382d4382edc6f5b9efaecda3c4cef7cfb688
parent1daa0d6b3e2d9adfb136bbe7554d3ad0fbd275da (diff)
downloadchat-10459480650d82501bc7682696e3b060f29a8cd5.tar.gz
chat-10459480650d82501bc7682696e3b060f29a8cd5.tar.bz2
chat-10459480650d82501bc7682696e3b060f29a8cd5.zip
PLT-2272 fixing profile img on firefox. (#2786)
-rw-r--r--webapp/components/user_settings/user_settings_general.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/user_settings/user_settings_general.jsx b/webapp/components/user_settings/user_settings_general.jsx
index c6a05d1ee..abf5ca7a9 100644
--- a/webapp/components/user_settings/user_settings_general.jsx
+++ b/webapp/components/user_settings/user_settings_general.jsx
@@ -229,9 +229,9 @@ class UserSettingsGeneralTab extends React.Component {
Client.uploadProfileImage(picture,
() => {
+ this.updateSection('');
this.submitActive = false;
AsyncClient.getMe();
- window.location.reload();
},
(err) => {
var state = this.setupInitialState(this.props);