Fix help rendering

[MAILPOET-949]
This commit is contained in:
Pavel Dohnal
2017-07-03 08:39:02 +01:00
parent 688e78560e
commit 17584dde43

View File

@@ -14,11 +14,11 @@ const App = React.createClass({
}
});
const container = document.getElementById('mailpoet_help');
const container = document.getElementById('help_container');
if(container) {
const mailpoet_listing = ReactDOM.render((
ReactDOM.render((
<Router history={ history }>
<Route path="/" component={ App }>
<IndexRedirect to="knowledgeBase" />
@@ -29,5 +29,4 @@ if(container) {
</Router>
), container);
window.mailpoet_listing = mailpoet_listing;
}