mirror of
https://github.com/ThaUnknown/miru.git
synced 2026-03-22 19:17:46 +00:00
11 lines
345 B
JavaScript
11 lines
345 B
JavaScript
if ((typeof halfmoon === "object" || typeof halfmoon === 'function') && (halfmoon !== null)) {
|
|
halfmoon.showModal = id => {
|
|
const t = document.getElementById(id)
|
|
t && t.classList.add("show")
|
|
}
|
|
halfmoon.hideModal = id => {
|
|
const t = document.getElementById(id)
|
|
t && t.classList.remove("show")
|
|
}
|
|
}
|
|
|