assets/js/search.js in fenton-jekyll-boilerplate-0.0.9 vs assets/js/search.js in fenton-jekyll-boilerplate-0.0.10
- old
+ new
@@ -121,10 +121,10 @@
search(s);
}
}, 400);
}
-fetch('/search.json')
+fetch(dataUrl)
.then(function (response) {
return response.json();
})
.then(function (data) {
haystack = data;