mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
Fix name of function
This commit is contained in:
parent
e23a4c541c
commit
3129992108
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue