Fixed JS function names

This commit is contained in:
Fred Boniface 2022-10-18 13:02:28 +01:00
parent 1a9d95b701
commit d07e8b38f6

View File

@ -6,14 +6,14 @@ function collapseSidebar() {
document.getElementById("sidebar").style.width = "0px";
}
function openSidebar() {
function sidebarOpen() {
document.getElementById("sidebar").style.height = "100%";
document.getElementById("sidebar").style.display = "block";
document.getElementById("sidebar_open_short").style.display = "none";
document.getElementById("sidebar_close_short").style.display = "block";
}
function closeSidebar() {
function sidebarClose() {
document.getElementById("sidebar").style.height = "0%";
document.getElementById("sidebar").style.display = "none";
document.getElementById("sidebar_open_short").style.display = "block";