This commit is contained in:
David Ralph
2021-03-13 18:15:57 +00:00
parent 4a427e23d8
commit aec47d9d0b
4 changed files with 56 additions and 25 deletions

View File

@@ -161,7 +161,11 @@ export default class Background extends React.PureComponent {
componentDidMount() {
if (localStorage.getItem('background') === 'false') {
return document.querySelector('#credits').style.display = 'none'; // Hide the credit
return document.querySelector('.photoInformation').style.display = 'none'; // Hide the credit
}
if (localStorage.getItem('customBackgroundColour') !== 'Disabled') {
document.querySelector('.photoInformation').style.display = 'none';
}
if (localStorage.getItem('animations') === 'true') {