diff --git a/lib/client.js b/lib/client.js index a36db16..9795dc5 100644 --- a/lib/client.js +++ b/lib/client.js @@ -5,7 +5,7 @@ import alt from './alt' import webrtcSupport from 'webrtcsupport' import SupportActions from './actions/SupportActions' -let bootstrap = document.documentElement.getAttribute('data-bootstrap') +let bootstrap = document.getElementById('bootstrap').innerHTML alt.bootstrap(bootstrap) window.FilePizza = () => { diff --git a/lib/components/App.js b/lib/components/App.js index 52a5617..9b75be5 100644 --- a/lib/components/App.js +++ b/lib/components/App.js @@ -1,3 +1,4 @@ +import Bootstrap from './Bootstrap' import ErrorPage from './ErrorPage' import FrozenHead from 'react-frozenhead' import React from 'react' @@ -27,7 +28,7 @@ export default class App extends React.Component { } render() { - return + return @@ -40,6 +41,7 @@ export default class App extends React.Component { +