MCPcopy Create free account
hub / github.com/dtmilano/AndroidViewClient / expand_sidebar

Function expand_sidebar

docs/_static/sidebar.js:50–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 }
49
50 const expand_sidebar = () => {
51 bodyWrapper.style.marginLeft = ""
52 sidebar.style.removeProperty("width")
53 sidebarWrapper.style.display = ""
54 flipArrow(sidebarArrow)
55 sidebarButton.title = _('Collapse sidebar')
56 window.localStorage.setItem("sidebar", "expanded")
57 }
58
59 sidebarButton.addEventListener("click", () => {
60 (sidebarWrapper.style.display === "none") ? expand_sidebar() : collapse_sidebar()

Callers 1

initialiseSidebarFunction · 0.85

Calls 2

flipArrowFunction · 0.85
_Function · 0.85

Tested by

no test coverage detected