2020-10-11 13:26:24 +00:00
|
|
|
import {q} from "./basic.js"
|
|
|
|
|
|
|
|
let state = "CLOSED"
|
|
|
|
|
2020-10-12 12:35:54 +00:00
|
|
|
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")
|
|
|
|
})
|