1
Fork 0

Create CSS class instead of using inline style for search results

This commit is contained in:
Guillaume Gomez 2022-01-06 13:08:57 +01:00
parent 03360be6b7
commit 26edfc9e31
2 changed files with 6 additions and 2 deletions

View file

@ -289,8 +289,8 @@ function hideThemeButtonState() {
var params = searchState.getQueryStringParams();
if (params.search !== undefined) {
var search = searchState.outputElement();
search.innerHTML = "<h3 style=\"text-align: center;\">" +
searchState.loadingText + "</h3>";
search.innerHTML = "<h3 class=\"search-loading\">" +
searchState.loadingText + "</h3>";
searchState.showResults(search);
loadSearch();
}