Prefetch search data

This commit is contained in:
fechin committed 2023-01-04 11:09:42 +08:00
1 parent 0151cd656c
commit 80213257bd
1 file changed
+1
+1
View File
@@ -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");