autofocus downloads search and exclude .idea directory
This commit is contained in:
parent
bff986f2d3
commit
2048baaaf5
2 changed files with 5 additions and 0 deletions
|
|
@ -61,3 +61,4 @@ exclude:
|
|||
- icon.png
|
||||
- template.md
|
||||
- Rakefile
|
||||
- .idea
|
||||
|
|
|
|||
|
|
@ -441,3 +441,7 @@ function appendFilterTag(type, name) {
|
|||
function removeFilterTag(type, name) {
|
||||
document.querySelector("[data-type='" + type + "'][data-name='" + name + "']").parentNode.remove();
|
||||
}
|
||||
|
||||
window.addEventListener('load', function () {
|
||||
document.querySelector("#search").focus();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue