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:
parent
c907e79251
commit
74681aeb21
@ -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 %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user