move html into assets
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
const parser = new DOMParser();
|
const parser = new DOMParser();
|
||||||
|
|
||||||
fetch("/_bottomnav.html")
|
fetch("/assets/components/_bottomnav.html")
|
||||||
.then(response => response.text())
|
.then(response => response.text())
|
||||||
.then(text => {
|
.then(text => {
|
||||||
const bottomNavHTML = parser.parseFromString(text, "text/html");
|
const bottomNavHTML = parser.parseFromString(text, "text/html");
|
||||||
|
|||||||
Reference in New Issue
Block a user