Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 331: | Line 331: | ||
function moveSidebarToBody() { | function moveSidebarToBody() { | ||
− | + | document.body.appendChild(document.getElementById('MySidebar')) | |
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 342: | Line 337: | ||
$('#totalItems, #enteredItems').keyup(function(){ | $('#totalItems, #enteredItems').keyup(function(){ | ||
checkUser(); | checkUser(); | ||
+ | moveSidebarToBody() | ||
}); | }); | ||
checkUser(); | checkUser(); | ||
+ | moveSidebarToBody() | ||
}); | }); | ||
</script> | </script> |
Revision as of 14:32, 8 March 2021