1
0
mirror of https://github.com/thangisme/notes.git synced 2025-04-22 03:32:14 -04:00

Improved js function nesting

This commit is contained in:
Silvio Giebl 2020-01-01 16:50:31 +01:00
parent c907e79251
commit 74681aeb21

View File

@ -109,8 +109,9 @@ function initSearch() {
}; };
request.send(); request.send();
}
function searchLoaded(index, docs) { function searchLoaded(index, docs) {
var index = index; var index = index;
var docs = docs; var docs = docs;
var searchInput = document.getElementById('search-input'); var searchInput = document.getElementById('search-input');
@ -343,7 +344,6 @@ function initSearch() {
hideSearch(); hideSearch();
} }
}); });
}
} }
{%- endif %} {%- endif %}