From c963d183f275031d8020c97be606b2e943ee20fa Mon Sep 17 00:00:00 2001 From: Tact <69988786+ItsTact@users.noreply.github.com> Date: Sun, 21 Jan 2024 23:21:14 -0500 Subject: [PATCH] might be a bit dumb --- js/footer.js | 2 +- js/footer3.js | 2 +- js/header.js | 2 +- js/header3.js | 2 +- js/nav.js | 2 +- js/nav3.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/js/footer.js b/js/footer.js index 4499f20..da42d89 100644 --- a/js/footer.js +++ b/js/footer.js @@ -1,4 +1,4 @@ -fetch('../ui/footer.html') +fetch('ui/footer.html') .then(res => res.text()) .then(text => { let oldelem = document.querySelector("script#replace_with_footer"); diff --git a/js/footer3.js b/js/footer3.js index 67172ef..50ea5a7 100644 --- a/js/footer3.js +++ b/js/footer3.js @@ -1,4 +1,4 @@ -fetch('../ui/footer3.html') +fetch('../../ui/footer3.html') .then(res => res.text()) .then(text => { let oldelem = document.querySelector("script#replace_with_footer"); diff --git a/js/header.js b/js/header.js index 327d4c3..0798d11 100644 --- a/js/header.js +++ b/js/header.js @@ -1,4 +1,4 @@ -fetch('../ui/header.html') +fetch('ui/header.html') .then(res => res.text()) .then(text => { let oldelem = document.querySelector("script#replace_with_header"); diff --git a/js/header3.js b/js/header3.js index 59bbd55..57488ce 100644 --- a/js/header3.js +++ b/js/header3.js @@ -1,4 +1,4 @@ -fetch('../ui/header3.html') +fetch('../../ui/header3.html') .then(res => res.text()) .then(text => { let oldelem = document.querySelector("script#replace_with_header"); diff --git a/js/nav.js b/js/nav.js index 00e7121..5137a58 100644 --- a/js/nav.js +++ b/js/nav.js @@ -1,4 +1,4 @@ -fetch('../ui/nav.html') +fetch('ui/nav.html') .then(res => res.text()) .then(text => { let oldelem = document.querySelector("script#replace_with_navbar"); diff --git a/js/nav3.js b/js/nav3.js index 68caf9d..736e0b9 100644 --- a/js/nav3.js +++ b/js/nav3.js @@ -1,4 +1,4 @@ -fetch('../ui/nav3.html') +fetch('../../ui/nav3.html') .then(res => res.text()) .then(text => { let oldelem = document.querySelector("script#replace_with_navbar");