Skip to content

Commit

Permalink
update header on browse
Browse files Browse the repository at this point in the history
  • Loading branch information
“Brandon committed Oct 28, 2024
1 parent 7650b07 commit 9af16bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browse/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ <h2 class="results-count" id="resultsCount">11 Results</h2>
// Function to include the HTML content
function includeHTML() {
// Include the header
fetch('/header.html')
fetch('header.html')
.then(response => response.text())
.then(data => {
document.getElementById('header').innerHTML = data;
});

// Include the footer
fetch('/footer.html')
fetch('footer.html')
.then(response => response.text())
.then(data => {
document.getElementById('footer').innerHTML = data;
Expand Down

0 comments on commit 9af16bf

Please sign in to comment.