fix (search): make action on searched elements

a couple months ago, we had to disabled the selection
of elements because this was opening the door to tons of bugs I didn't
wanted to deal with at the time but we finally came to the end of those,
hence we can reenable that
This commit is contained in:
MickaelK 2025-03-13 21:46:34 +11:00
parent 3d0753c29b
commit 89688843dc

View file

@ -140,10 +140,6 @@ export function createThing({
$link.setAttribute("href", "#");
$extension.innerHTML = "";
return $thing;
} else if (search !== "") {
$checkbox.classList.add("hidden");
if (view === "list") $img.style.visibility = "initial";
return $thing;
} else if (type === "hidden") {
$thing.classList.add("hidden");
return $thing;