mirror of
https://github.com/rvtr/wiki.git
synced 2025-10-31 06:31:13 -04:00
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
7 lines
171 B
JavaScript
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");
|
|
});
|