summaryrefslogtreecommitdiffstats
path: root/web/react/components/docs.jsx
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-01-28 16:16:39 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-01-28 16:16:39 -0300
commit53e495cf335d3c6b44361627288db252aae1f4ad (patch)
treed7fb30f15a5166d7ab47fe882478a086837d940f /web/react/components/docs.jsx
parentdb37897538f134b29784453797510c20e1e9303c (diff)
downloadchat-53e495cf335d3c6b44361627288db252aae1f4ad.tar.gz
chat-53e495cf335d3c6b44361627288db252aae1f4ad.tar.bz2
chat-53e495cf335d3c6b44361627288db252aae1f4ad.zip
PLT-7: Refactoring frontend (chunk 4)
Diffstat (limited to 'web/react/components/docs.jsx')
-rw-r--r--web/react/components/docs.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/docs.jsx b/web/react/components/docs.jsx
index 188ca340b..6d3a109c2 100644
--- a/web/react/components/docs.jsx
+++ b/web/react/components/docs.jsx
@@ -13,7 +13,7 @@ export default class Docs extends React.Component {
const errorState = {text: '## 404'};
if (props.site) {
- $.get('/static/help/' + props.site + '.md').then((response) => {
+ $.get(`/static/help/${props.site}_${global.window.mm_locale}.md`).then((response) => {
this.setState({text: response});
}, () => {
this.setState(errorState);