mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Prefetch search data
This commit is contained in:
1 parent
0151cd656c
commit
80213257bd
1 file changed
+1
@@ -139,6 +139,7 @@ window.addEventListener('load', () => {
|
||||
start: function () {
|
||||
const _this = this;
|
||||
|
||||
_this.fetchData(); // Prepare search data
|
||||
this.search = document.querySelector(this.container);
|
||||
this.box = document.querySelector("#mysearch-box");
|
||||
this.input = document.querySelector("#mysearch-input");
|
||||
|
||||
Reference in new issue
Block a user