Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 379: | Line 379: | ||
function collapseAll() { | function collapseAll() { | ||
$(".mw-collapsible").not('.keep-abierto').addClass("mw-collapsed"); | $(".mw-collapsible").not('.keep-abierto').addClass("mw-collapsed"); | ||
+ | } | ||
+ | |||
+ | function moveSidebarToBody() { | ||
+ | document.body.appendChild(document.getElementById('MySidebar')) | ||
} | } | ||
Line 386: | Line 390: | ||
collapseAll() | collapseAll() | ||
removeCSS() | removeCSS() | ||
− | + | moveSidebarToBody() | |
}); | }); | ||
checkUser() | checkUser() | ||
collapseAll() | collapseAll() | ||
removeCSS() | removeCSS() | ||
− | + | moveSidebarToBody() | |
}); | }); | ||
− | |||
− | |||
− | |||
− | |||
</script> | </script> | ||
}} | }} |
Revision as of 23:41, 9 March 2021