hugo-batsite/public/js/noscript.js

11 lines
308 B
JavaScript
Raw Normal View History

2022-05-27 15:11:53 +00:00
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";
}
}