mirror of
https://github.com/snachodog/just-the-docs.git
synced 2026-06-04 01:49:44 -06:00
Improved js function nesting
This commit is contained in:
@@ -109,8 +109,9 @@ function initSearch() {
|
||||
};
|
||||
|
||||
request.send();
|
||||
}
|
||||
|
||||
function searchLoaded(index, docs) {
|
||||
function searchLoaded(index, docs) {
|
||||
var index = index;
|
||||
var docs = docs;
|
||||
var searchInput = document.getElementById('search-input');
|
||||
@@ -343,7 +344,6 @@ function initSearch() {
|
||||
hideSearch();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
{%- endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user