mirror of
https://github.com/mue/mue.git
synced 2026-07-16 13:34:03 +02:00
fix: photoinformation not appearing when turning background off and on again
This commit is contained in:
@@ -264,6 +264,10 @@ export default class Background extends React.PureComponent {
|
||||
if (this.state.video === true) {
|
||||
document.getElementById('backgroundVideo').style.display = 'block';
|
||||
} else {
|
||||
if (this.state.photoInfo.hidden === false) {
|
||||
document.querySelector('.photoInformation').style.display = 'block';
|
||||
}
|
||||
|
||||
element.style.display = 'block';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user