diff --git a/www/index.html b/www/index.html index 4ba1b9c3..9a374fd4 100644 --- a/www/index.html +++ b/www/index.html @@ -231,7 +231,7 @@ - + @@ -1338,8 +1338,8 @@ - - + + diff --git a/www/js/app.js b/www/js/app.js index dc27d60b..7f6fedf1 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -4815,7 +4815,7 @@ function showZIMIndex (start, search) { var dirEntry = dirEntryArray[i]; // NB Ensure you use double quotes for HTML attributes below - see comment in populateListOfArticles newHtml += '\n' + (appstate.search.searchUrlIndex ? dirEntry.namespace + '/' + dirEntry.url : '' + dirEntry.getTitleOrUrl()) + ''; + '" role="option">' + (appstate.search.searchUrlIndex ? dirEntry.namespace + '/' + dirEntry.url : '' + dirEntry.getTitleOrUrl()) + ''; } start = start || 0; var back = start ? '' + (reportingSearch.searchUrlIndex ? dirEntry.namespace + '/' + dirEntry.url : '' + dirEntryTitle) + ''; + '" class="list-group-item" role="option">' + (reportingSearch.searchUrlIndex ? dirEntry.namespace + '/' + dirEntry.url : '' + dirEntryTitle) + ''; } articleListDiv.innerHTML = articleListDivHtml; // We have to use mousedown below instead of click as otherwise the prefix blur event fires first