mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-13 01:25:45 +00:00
feature: Logs, column for tag, and left align status. Stop nav flash (#393)
This commit is contained in:
@@ -163,6 +163,8 @@ function setSectionNavigationVisible (visible) {
|
||||
const nav = document.querySelector('nav')
|
||||
const btn = document.getElementById('sidebar-toggler-button')
|
||||
|
||||
nav.removeAttribute('hidden')
|
||||
|
||||
if (document.body.classList.contains('has-sidebar')) {
|
||||
if (visible) {
|
||||
btn.setAttribute('aria-pressed', false)
|
||||
|
||||
Reference in New Issue
Block a user