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 "./main.css";
|
||||||
import { initializeForms } from "./ts/form";
|
import { initializeForms } from "./ts/form";
|
||||||
import { setupHamburger } from "./ts/hamburger";
|
import { setupInfoButton } from "./ts/info-menu";
|
||||||
import { initializeMap } from "./ts/map";
|
import { initializeMap } from "./ts/map";
|
||||||
import "@fontsource/ubuntu/latin.css";
|
import "@fontsource/ubuntu/latin.css";
|
||||||
import { setupLegend } from "./ts/legend";
|
import { setupLegend } from "./ts/legend";
|
||||||
|
@ -10,7 +10,7 @@ import { addGoatCounter } from "./ts/goatcounter";
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
initializeMap();
|
initializeMap();
|
||||||
initializeForms();
|
initializeForms();
|
||||||
setupHamburger();
|
setupInfoButton();
|
||||||
setupLegend();
|
setupLegend();
|
||||||
setupEmergencyButton();
|
setupEmergencyButton();
|
||||||
setupResetButton();
|
setupResetButton();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
const openClass = "open";
|
const openClass = "open";
|
||||||
|
|
||||||
export const setupHamburger = () => {
|
export const setupInfoButton = () => {
|
||||||
const menu = document.getElementById("menu")!;
|
const menu = document.getElementById("menu")!;
|
||||||
const openBtn = document.getElementById("open-menu-btn")!;
|
const openBtn = document.getElementById("open-menu-btn")!;
|
||||||
const closeBtn = document.getElementById("close-menu-btn")!;
|
const closeBtn = document.getElementById("close-menu-btn")!;
|
Loading…
Reference in a new issue