PLT-7: Refactoring frontend (chunk 4)

Этот коммит содержится в:
Elias Nahum
2016-01-28 16:16:39 -03:00
родитель db37897538
Коммит 53e495cf33
24 изменённых файлов: 759 добавлений и 107 удалений

Просмотреть файл

@@ -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);