forked from cadence/Carbon
14 lines
315 B
JavaScript
14 lines
315 B
JavaScript
import {q} from "./basic.js"
|
|
|
|
let state = "CLOSED"
|
|
|
|
const groups = q("#c-groups-display")
|
|
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")
|
|
})
|