mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-17 04:32:51 -06:00
#6797: Improve sidenav state handling before load
This commit is contained in:
parent
261372289a
commit
c3a75d98d4
@ -93,6 +93,8 @@
|
||||
// rest of the content rendering. This prevents jumpy/glitchy behavior on page reloads.
|
||||
document.body.setAttribute('data-sidenav-pinned', '');
|
||||
document.body.setAttribute('data-sidenav-show', '');
|
||||
} else if (sideNavState.pinned === false) {
|
||||
document.body.setAttribute('data-sidenav-hidden', '');
|
||||
}
|
||||
}
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user