mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 09:03:02 -04:00
♻️ Add search to JS asset bundle
This commit is contained in:
+1
-3
@@ -104,9 +104,7 @@ function fetchJSON(path, callback) {
|
||||
}
|
||||
|
||||
function buildIndex() {
|
||||
var baseURL = document
|
||||
.querySelector('script[data-id="fusejs"][data-url]')
|
||||
.getAttribute("data-url");
|
||||
var baseURL = wrapper.getAttribute("data-url");
|
||||
fetchJSON(baseURL + "index.json", function (data) {
|
||||
var options = {
|
||||
shouldSort: true,
|
||||
|
||||
Reference in New Issue
Block a user