mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-20 18:19:30 +00:00
Updating search box
This commit is contained in:
parent
c2a382f6a0
commit
15a821b5bd
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ document.addEventListener('listing', event => {
|
|||
document.querySelector('#search input').addEventListener('keyup', searchEvent);
|
||||
|
||||
document.querySelector("#search").addEventListener("click", event => {
|
||||
if(event.target.classList.contains("active") || event.target.classList.contains("material-icons")) return;
|
||||
if(event.target.classList.contains("active")) return;
|
||||
event.target.classList.add("active");
|
||||
document.querySelector("#search input").focus();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue