Make search results tab and help button focusable with keyboard
This commit is contained in:
parent
e413d89aa7
commit
2363a20b98
6 changed files with 23 additions and 20 deletions
|
@ -1633,10 +1633,10 @@ function defocusSearchBar() {
|
|||
|
||||
function makeTabHeader(tabNb, text, nbElems) {
|
||||
if (currentTab === tabNb) {
|
||||
return "<div class=\"selected\">" + text +
|
||||
" <div class=\"count\">(" + nbElems + ")</div></div>";
|
||||
return "<button class=\"selected\">" + text +
|
||||
" <div class=\"count\">(" + nbElems + ")</div></button>";
|
||||
}
|
||||
return "<div>" + text + " <div class=\"count\">(" + nbElems + ")</div></div>";
|
||||
return "<button>" + text + " <div class=\"count\">(" + nbElems + ")</div></button>";
|
||||
}
|
||||
|
||||
function showResults(results) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue