summaryrefslogtreecommitdiffstats
path: root/web/react/components/setting_picture.jsx
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-15 18:59:14 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-15 18:59:14 -0700
commitb2a679c25da42c4665059965830858da4f0ec238 (patch)
tree831b04b0453a67dc291e08e091ffdb497d187922 /web/react/components/setting_picture.jsx
parent788fc4373b8d22930b3420f7906e626e2bd63394 (diff)
downloadchat-b2a679c25da42c4665059965830858da4f0ec238.tar.gz
chat-b2a679c25da42c4665059965830858da4f0ec238.tar.bz2
chat-b2a679c25da42c4665059965830858da4f0ec238.zip
PLT-93 cleaing up client side configs
Diffstat (limited to 'web/react/components/setting_picture.jsx')
-rw-r--r--web/react/components/setting_picture.jsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/web/react/components/setting_picture.jsx b/web/react/components/setting_picture.jsx
index a53112651..ddad4fd53 100644
--- a/web/react/components/setting_picture.jsx
+++ b/web/react/components/setting_picture.jsx
@@ -1,8 +1,6 @@
// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
// See License.txt for license information.
-import {config} from '../utils/config.js';
-
export default class SettingPicture extends React.Component {
constructor(props) {
super(props);
@@ -81,7 +79,7 @@ export default class SettingPicture extends React.Component {
>Save</a>
);
}
- var helpText = 'Upload a profile picture in either JPG or PNG format, at least ' + config.ProfileWidth + 'px in width and ' + config.ProfileHeight + 'px height.';
+ var helpText = 'Upload a profile picture in either JPG or PNG format, at least ' + global.window.config.ProfileWidth + 'px in width and ' + global.window.config.ProfileHeight + 'px height.';
var self = this;
return (