Skip to content

Commit

Permalink
fix bad js
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Apr 23, 2024
1 parent 71d3cef commit d1784c9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Centre de recherche informatique de Montréal
## Pages

<div id="pages"></div>
<script defer type="text/javascript" src="/js/repo-listing.js"></script>
<script async type="text/javascript" src="/js/repo-listing.js"></script>
2 changes: 1 addition & 1 deletion js/repo-listing.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
htmlString += `<li><a href="${p.name}">${p.name}</a> - <i>${p.description}</i></li>`;
}
htmlString += '</ol>';
document.getElementById('pages')[0].innerHTML = htmlString;
document.getElementById('pages').innerHTML = htmlString;
})()
2 changes: 1 addition & 1 deletion js/stac-listing.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
htmlString += `<li><a href="${p.name}">${p.name}</a> - <i>${p.description}</i></li>`;
}
htmlString += '</ol>';
document.getElementById('pages')[0].innerHTML = htmlString;
document.getElementById('pages').innerHTML = htmlString;
})()
2 changes: 1 addition & 1 deletion stac-extensions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ title: STAC Extensions under CRIM repositories
---

<div id="pages"></div>
<script defer type="text/javascript" src="/js/stac-listing.js"></script>
<script async type="text/javascript" src="/js/stac-listing.js"></script>

0 comments on commit d1784c9

Please sign in to comment.