Carbon/build/static/groups.js

15 lines
315 B
JavaScript
Raw Normal View History

2020-10-11 13:26:24 +00:00
import {q} from "./basic.js"
let state = "CLOSED"
const groups = q("#c-groups-display")
2020-10-11 13:26:24 +00:00
const rooms = q("#c-rooms")
groups.addEventListener("click", () => {
groups.classList.add("c-groups__display--closed")
})
rooms.addEventListener("mouseout", () => {
groups.classList.remove("c-groups__display--closed")
})