mirror of
https://git.kittycat.homes/zoe/hugo-batsite.git
synced 2024-08-15 03:18:24 +00:00
10 lines
308 B
JavaScript
10 lines
308 B
JavaScript
const flexes = document.getElementsByClassName("flexjs");
|
|
const iflexes = document.getElementsByClassName("iflexjs");
|
|
export function unhide_elements() {
|
|
for (let element of flexes) {
|
|
element.style.display = "flex";
|
|
}
|
|
for (let element of iflexes) {
|
|
element.style.display = "inline-flex";
|
|
}
|
|
}
|