Skip to content

Commit

Permalink
focus on lbdoc search element when opening search. Also select the te…
Browse files Browse the repository at this point in the history
…xt. Issue #1872
  • Loading branch information
jussimalinen committed Dec 16, 2014
1 parent b04466c commit 89c9a9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/robot/htmldata/libdoc/libdoc.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ <h1>Opening library documentation failed</h1>
function openSearch() {
$('#search').show();
$('#open-search').hide();
$('#search-pattern').focus().select();
}

function closeSearch() {
Expand Down

0 comments on commit 89c9a9b

Please sign in to comment.