This commit is contained in:
@@ -408,8 +408,6 @@ if (searchInput && searchBtn && paneInput && modalResults && paneCount) {
|
|||||||
|
|
||||||
modal.addEventListener("click", (e) => {
|
modal.addEventListener("click", (e) => {
|
||||||
if (e.target.hasAttribute("data-search-close")) {
|
if (e.target.hasAttribute("data-search-close")) {
|
||||||
console.log("Closing search pane");
|
|
||||||
e.preventDefault();
|
|
||||||
closeSearchPane();
|
closeSearchPane();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user