hugo-batsite/public/js/noscript.js
2022-05-27 17:11:53 +02:00

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";
}
}