diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-09-16 12:52:50 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-09-16 12:52:50 -0400 |
commit | 7e418714bce067172e527359f391943459b3bd48 (patch) | |
tree | fb06d542eddb5ce8d63fce27bfe87f6c9c63adbb /web/react/components/view_image.jsx | |
parent | 9828d84f01147ffb87b372d20681f91325ecfcf0 (diff) | |
parent | 4e3896d7b1911b8c184dee3c650461f0d3c0acea (diff) | |
download | chat-7e418714bce067172e527359f391943459b3bd48.tar.gz chat-7e418714bce067172e527359f391943459b3bd48.tar.bz2 chat-7e418714bce067172e527359f391943459b3bd48.zip |
Merge pull request #687 from mattermost/PLT-93
PLT-93 Cleaning up client side configs
Diffstat (limited to 'web/react/components/view_image.jsx')
-rw-r--r-- | web/react/components/view_image.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/react/components/view_image.jsx b/web/react/components/view_image.jsx index 8d3495e3b..f7c980396 100644 --- a/web/react/components/view_image.jsx +++ b/web/react/components/view_image.jsx @@ -3,7 +3,6 @@ var Client = require('../utils/client.jsx'); var Utils = require('../utils/utils.jsx'); -import {config} from '../utils/config.js'; export default class ViewImageModal extends React.Component { constructor(props) { @@ -301,7 +300,7 @@ export default class ViewImageModal extends React.Component { } var publicLink = ''; - if (config.AllowPublicLink) { + if (global.window.config.AllowPublicLink) { publicLink = ( <div> <a |