Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenpi committed Nov 6, 2024
1 parent fc84446 commit 323ea6f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions assets/html/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,13 +544,13 @@ function waitUntilSearchIndexAvailable() {
// has finished loading and documenterSearchIndex gets defined.
// So we need to wait until the search index actually loads before setting
// up all the search-related stuff.
if(typeof documenterSearchIndex !== 'undefined') {
runSearchMainCode()
if (typeof documenterSearchIndex !== "undefined") {
runSearchMainCode();
} else {
console.warn("Search Index not available, waiting")
setTimeout(waitUntilSearchIndexAvailable, 1000)
console.warn("Search Index not available, waiting");
setTimeout(waitUntilSearchIndexAvailable, 1000);
}
}

// The actual entry point to the search code
waitUntilSearchIndexAvailable()
waitUntilSearchIndexAvailable();

0 comments on commit 323ea6f

Please sign in to comment.