wiki/assets/js/rescript.js
Pk11 e90c1399c7 Try to fix ES6~ES8 compatibility again
I think the problem is that the outer {} was being interpreted as a scope block instead of an object? With the let = {} it could only be an object
2022-05-20 15:56:45 -05:00

7 lines
171 B
JavaScript

let es9 = {...{}};
// Make navbar not open on hover
Array.from(document.getElementsByClassName("hover-content")).forEach(r => {
r.classList.remove("hover-content");
});