mirror of
https://github.com/snachodog/just-the-docs.git
synced 2026-06-04 01:49:44 -06:00
Create condition for no search and add config/css
This commit is contained in:
@@ -155,7 +155,9 @@ function initSearch() {
|
||||
|
||||
function ready(){
|
||||
toggleNav();
|
||||
initSearch();
|
||||
if (typeof lunr !== 'undefined') {
|
||||
initSearch();
|
||||
}
|
||||
}
|
||||
|
||||
// in case the document is already rendered
|
||||
|
||||
Reference in New Issue
Block a user