Updating search box

Former-commit-id: 15a821b5bd
pull/726/head
fabioswartz 2016-12-29 06:22:28 +00:00
parent 72e3da2e1e
commit cc2adbc70d
1 changed files with 1 additions and 1 deletions

View File

@ -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();
});