mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-08-03 19:27:11 -04:00
Signed off by @devhenode
This commit is contained in:
parent
6d5d5000bf
commit
1a01365032
@ -104,7 +104,7 @@
|
||||
|
||||
</nav>
|
||||
|
||||
<form id="formArticleSearch">
|
||||
<form id="formArticleSearch" role="search" aria-label="Search articles">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<span class="col-10">
|
||||
@ -774,8 +774,8 @@
|
||||
|
||||
<!-- List of articles matching the typed prefix -->
|
||||
<div id="articleListWithHeader" style="display: none;" class="container">
|
||||
<span id="articleListHeaderMessage"></span>
|
||||
<div id="articleList" class="list-group">
|
||||
<span id="articleListHeaderMessage" aria-live="polite"></span>
|
||||
<div id="articleList" class="list-group" role="listbox">
|
||||
</div>
|
||||
</div>
|
||||
<!-- Bootstrap alert box -->
|
||||
|
@ -2019,7 +2019,7 @@ function populateListOfArticles (dirEntryArray, reportingSearch) {
|
||||
// Info: encodeURIComponent encodes all characters except A-Z a-z 0-9 - _ . ! ~ * ' ( )
|
||||
var dirEntryStringId = encodeURIComponent(dirEntry.toStringId());
|
||||
articleListDivHtml += '<a href="#" dirEntryId="' + dirEntryStringId +
|
||||
'" class="list-group-item">' + dirEntry.getTitleOrUrl() + '</a>';
|
||||
'" class="list-group-item" role="option">' + dirEntry.getTitleOrUrl() + '</a>';
|
||||
}
|
||||
|
||||
// innerHTML required for this line
|
||||
|
Loading…
x
Reference in New Issue
Block a user