mirror of
https://github.com/Queer-Lexikon/regenbogenkarte
synced 2024-11-10 06:34:21 +00:00
refactor: rename existing hamburger file
This commit is contained in:
parent
926dc702c8
commit
514ca42a56
2 changed files with 3 additions and 3 deletions
4
main.ts
4
main.ts
|
@ -1,6 +1,6 @@
|
|||
import "./main.css";
|
||||
import { initializeForms } from "./ts/form";
|
||||
import { setupHamburger } from "./ts/hamburger";
|
||||
import { setupInfoButton } from "./ts/info-menu";
|
||||
import { initializeMap } from "./ts/map";
|
||||
import "@fontsource/ubuntu/latin.css";
|
||||
import { setupLegend } from "./ts/legend";
|
||||
|
@ -10,7 +10,7 @@ import { addGoatCounter } from "./ts/goatcounter";
|
|||
document.addEventListener("DOMContentLoaded", () => {
|
||||
initializeMap();
|
||||
initializeForms();
|
||||
setupHamburger();
|
||||
setupInfoButton();
|
||||
setupLegend();
|
||||
setupEmergencyButton();
|
||||
setupResetButton();
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const openClass = "open";
|
||||
|
||||
export const setupHamburger = () => {
|
||||
export const setupInfoButton = () => {
|
||||
const menu = document.getElementById("menu")!;
|
||||
const openBtn = document.getElementById("open-menu-btn")!;
|
||||
const closeBtn = document.getElementById("close-menu-btn")!;
|
Loading…
Reference in a new issue