Update JS style syntax
This commit is contained in:
parent
eee9dd5fe6
commit
1d5c9b2109
@ -8,11 +8,11 @@ function collapseSidebar() {
|
||||
|
||||
function sidebarToggle() {
|
||||
var bar = document.getElementById("sidebar");
|
||||
if (bar.style.height === "0") {
|
||||
if (bar.style.height === "0px") {
|
||||
bar.style.height = "100%";
|
||||
bar.style.display = "block";
|
||||
} else {
|
||||
bar.style.height = "0";
|
||||
bar.style.height = "0px";
|
||||
bar.style.display = "none";
|
||||
}
|
||||
}
|
@ -37,7 +37,7 @@
|
||||
top: 40px;
|
||||
right: 0;
|
||||
margin: auto;
|
||||
height: 0;
|
||||
height: 0px;
|
||||
display: none;
|
||||
max-width: 60%;
|
||||
background-color: darkslategrey;
|
||||
|
Loading…
Reference in New Issue
Block a user