autofocus downloads search and exclude .idea directory

This commit is contained in:
foamyguy 2022-06-04 11:56:18 -05:00
parent bff986f2d3
commit 2048baaaf5
2 changed files with 5 additions and 0 deletions

View file

@ -61,3 +61,4 @@ exclude:
- icon.png - icon.png
- template.md - template.md
- Rakefile - Rakefile
- .idea

View file

@ -441,3 +441,7 @@ function appendFilterTag(type, name) {
function removeFilterTag(type, name) { function removeFilterTag(type, name) {
document.querySelector("[data-type='" + type + "'][data-name='" + name + "']").parentNode.remove(); document.querySelector("[data-type='" + type + "'][data-name='" + name + "']").parentNode.remove();
} }
window.addEventListener('load', function () {
document.querySelector("#search").focus();
});