Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com>
Co-authored-by: Isaac Saunders <contact@eartharoid.me>
This commit is contained in:
David Ralph
2020-07-17 23:46:01 +01:00
parent 0464afea27
commit 3e80586620
10 changed files with 232 additions and 16 deletions

View File

@@ -45,7 +45,10 @@ export default class Background extends React.Component {
componentDidMount() {
const enabled = localStorage.getItem('background');
if (enabled === 'false') return;
if (enabled === 'false') {
document.getElementById('backgroundCredits').style.display = 'none';
return;
}
this.setBackground();
}