mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Change fetch icons url
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function loadBurger() {
|
||||
fetch(`./../icons/${burgerOpen ? 'close' : 'burger'}.svg`)
|
||||
fetch(`/icons/${burgerOpen ? 'close' : 'burger'}.svg`)
|
||||
.then((response) => response.text())
|
||||
.then((svg) => {
|
||||
burgerPlaceholder.innerHTML = svg;
|
||||
|
||||
Reference in New Issue
Block a user