From 312999210851a2f052d4185b1d84816a1c964d1a Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 23 Jun 2024 11:31:10 -0400 Subject: [PATCH] Fix name of function --- assets/js/burger.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/burger.ts b/assets/js/burger.ts index 2d465fb6..d82d032f 100644 --- a/assets/js/burger.ts +++ b/assets/js/burger.ts @@ -29,7 +29,7 @@ function close(burger: HTMLElement, content: HTMLElement, body: HTMLElement, roo }, 300); } -function copyArtistLinksTo(burger: HTMLElement) { +function copyUserLinksTo(burger: HTMLElement) { const copy = (links: HTMLCollection) => { burger.appendChild(document.createElement('hr')); @@ -51,7 +51,7 @@ export function setupBurgerMenu() { const body = document.body; const root = document.documentElement; - copyArtistLinksTo(burger); + copyUserLinksTo(burger); toggle.addEventListener('click', event => { event.stopPropagation();