Skip to content

Commit

Permalink
Use querySelector instead
Browse files Browse the repository at this point in the history
  • Loading branch information
amarpersaud committed Jul 1, 2023
1 parent 6e41ff7 commit c713582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
let response = await fetch(url);
let obj = await response.json();
let versionItemTemplate = document.querySelector('#version-template');
let targetList = document.getElementById("#version-list");
let targetList = document.querySelector("#version-list");
for(let i = 0; i < obj.Versions.length; i++){
let version = obj.Versions[i];
let clone = document.importNode(versionItemTemplate.content, true);
Expand Down

0 comments on commit c713582

Please sign in to comment.