mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +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);
|
}, 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();
|
||||||
|
|
Loading…
Reference in a new issue