mirror of
https://github.com/mue/mue.git
synced 2026-07-28 11:11:08 +02:00
cleanup
This commit is contained in:
@@ -17,7 +17,7 @@ export default class View extends React.PureComponent {
|
||||
}
|
||||
|
||||
viewStuff() {
|
||||
const elements = ['#searchBar', '.navbar-container', '.clock', '.greeting', '.quotediv', 'time'];
|
||||
const elements = ['#searchBar', '.navbar-container', '.clock', '.greeting', '.quotediv', 'time']; // elements to hide
|
||||
elements.forEach((element) => {
|
||||
try {
|
||||
(this.state.hidden === false) ? document.querySelector(element).style.display = 'none' : document.querySelector(element).style.display = 'block';
|
||||
|
||||
Reference in New Issue
Block a user