fix: Search button would stay on top of sidepanel when it was open.
This commit is contained in:
@@ -26,10 +26,16 @@ function updateDropDownSelection(id, contentId) {
|
||||
}
|
||||
|
||||
function openSidepanel() {
|
||||
if (searchBtn = document.getElementById("btn-search")) {
|
||||
searchBtn.style.display = "none";
|
||||
}
|
||||
document.getElementById("sidepanel").style.width = "250px";
|
||||
}
|
||||
|
||||
function closeSidepanel() {
|
||||
if (searchBtn = document.getElementById("btn-search")) {
|
||||
searchBtn.style.display = "inline";
|
||||
}
|
||||
document.getElementById("sidepanel").style.width = "0";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user