Hide buttons - #21
This commit is contained in:
parent
4de2a12aab
commit
36b44cd5b3
|
|
@ -67,9 +67,7 @@ function processWebuiSettingsJson (settings) {
|
|||
document.head.appendChild(themeCss);
|
||||
}
|
||||
|
||||
if (settings.HideNavigation) {
|
||||
document.querySelector('#switcher').display = 'none';
|
||||
}
|
||||
document.querySelector('#switcher').hidden = settings.HideNavigation
|
||||
}
|
||||
|
||||
setupSections();
|
||||
|
|
|
|||
Loading…
Reference in New Issue