Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TarekRaafat committed Oct 13, 2020
2 parents 37f1169 + 63b150d commit f5c95ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/demo/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const autoCompletejs = new autoComplete({
// Loading placeholder text
document.querySelector("#autoComplete").setAttribute("placeholder", "Loading...");
// Fetch External Data Source
const source = await fetch("../demo/db/generic.json");
const source = await fetch("./db/generic.json");
const data = await source.json();
// Returns Fetched data
return data;
Expand Down

0 comments on commit f5c95ca

Please sign in to comment.