mirror of
https://github.com/mue/mue.git
synced 2026-07-27 02:31:06 +02:00
Progress
Co-authored-by: Alex Sparkes <turbomarshmello@gmail.com> Co-authored-by: Isaac Saunders <contact@eartharoid.me>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user