diff --git a/README.md b/README.md index 5fbc9c3..84b6820 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Kana Quiz 2 Kana Quiz made with React.js. -See live at http://simplemedia.org/kana/ +See live at https://kana.pro/ Install deps: `npm install` diff --git a/src/components/App/App.jsx b/src/components/App/App.jsx index 62f29de..fa34a2b 100644 --- a/src/components/App/App.jsx +++ b/src/components/App/App.jsx @@ -25,18 +25,18 @@ class App extends Component { } componentWillUpdate(nextProps, nextState) { - // This is primarily for demo site purposes. Hides footer when game is on. + // This is primarily for demo site purposes. Hides #footer when game is on. if(document.getElementById('footer')) { if(nextState.gameState=='chooseCharacters') - document.getElementById('footer').style.visibility = "visible"; + document.getElementById('footer').style.display = "block"; else - document.getElementById('footer').style.visibility = "hidden"; + document.getElementById('footer').style.display = "none"; } } componentWillMount() { if(document.getElementById('footer')) - document.getElementById('footer').style.visibility = "visible"; + document.getElementById('footer').style.display = "block"; } render() {