fix: background hot reload, settings issue, remove navbar hover setting

This commit is contained in:
David Ralph
2021-06-16 12:05:03 +01:00
parent dcddd78164
commit de1797c662
15 changed files with 53 additions and 81 deletions

View File

@@ -299,7 +299,10 @@ export default class Background extends React.PureComponent {
document.getElementById('backgroundVideo').style.display = 'block';
} else {
if (this.state.photoInfo.hidden === false) {
document.querySelector('.photoInformation').style.display = 'block';
// fix bug
try {
document.querySelector('.photoInformation').style.display = 'block';
} catch (e) {}
}
element.style.display = 'block';