mirror of
https://github.com/thangisme/notes.git
synced 2025-11-23 13:12:25 -05: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