mirror of
https://github.com/thangisme/notes.git
synced 2025-04-20 07:32:24 -04:00
Improved js function nesting
This commit is contained in:
parent
c907e79251
commit
74681aeb21
@ -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 %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user