mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
parent
72e3da2e1e
commit
cc2adbc70d
@ -584,7 +584,7 @@ document.addEventListener('listing', event => {
|
|||||||
document.querySelector('#search input').addEventListener('keyup', searchEvent);
|
document.querySelector('#search input').addEventListener('keyup', searchEvent);
|
||||||
|
|
||||||
document.querySelector("#search").addEventListener("click", event => {
|
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");
|
event.target.classList.add("active");
|
||||||
document.querySelector("#search input").focus();
|
document.querySelector("#search input").focus();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user