Fix name of function

This commit is contained in:
Liam 2024-06-23 11:31:10 -04:00
parent e23a4c541c
commit 3129992108

View file

@ -29,7 +29,7 @@ function close(burger: HTMLElement, content: HTMLElement, body: HTMLElement, roo
}, 300); }, 300);
} }
function copyArtistLinksTo(burger: HTMLElement) { function copyUserLinksTo(burger: HTMLElement) {
const copy = (links: HTMLCollection) => { const copy = (links: HTMLCollection) => {
burger.appendChild(document.createElement('hr')); burger.appendChild(document.createElement('hr'));
@ -51,7 +51,7 @@ export function setupBurgerMenu() {
const body = document.body; const body = document.body;
const root = document.documentElement; const root = document.documentElement;
copyArtistLinksTo(burger); copyUserLinksTo(burger);
toggle.addEventListener('click', event => { toggle.addEventListener('click', event => {
event.stopPropagation(); event.stopPropagation();