Set focus on the search box. fix #90
This commit is contained in:
parent
07ca4eff86
commit
30b41a6cf4
1 changed files with 1 additions and 0 deletions
1
util.js
1
util.js
|
@ -251,6 +251,7 @@ function updatePage (data) {
|
||||||
}
|
}
|
||||||
document.title = data.title;
|
document.title = data.title;
|
||||||
currentData = data;
|
currentData = data;
|
||||||
|
setTimeout( function() { $("input[name=query]").focus() }, 500 );
|
||||||
|
|
||||||
debug_log (elapsed ());
|
debug_log (elapsed ());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue