Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 375: | Line 375: | ||
// document.body.appendChild(document.getElementById('MySidebar')) | // document.body.appendChild(document.getElementById('MySidebar')) | ||
// } | // } | ||
+ | |||
+ | function removeCSS() { | ||
+ | $('#menuToggle li').css({'margin-bottm':'','margin-top':''}) | ||
+ | } | ||
function collapseAll() { | function collapseAll() { | ||
Line 384: | Line 388: | ||
checkUser() | checkUser() | ||
collapseAll() | collapseAll() | ||
+ | removeCSS() | ||
// moveSidebarToBody() | // moveSidebarToBody() | ||
}); | }); | ||
checkUser() | checkUser() | ||
collapseAll() | collapseAll() | ||
+ | removeCSS() | ||
// moveSidebarToBody() | // moveSidebarToBody() | ||
}); | }); |
Revision as of 15:43, 9 March 2021