mirror of
https://github.com/rvtr/wiki.git
synced 2025-10-31 06:31:13 -04:00
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
This commit is contained in:
parent
e419f26dcf
commit
e90c1399c7
@ -1,3 +1,5 @@
|
||||
let es9 = {...{}};
|
||||
|
||||
// Make navbar not open on hover
|
||||
Array.from(document.getElementsByClassName("hover-content")).forEach(r => {
|
||||
r.classList.remove("hover-content");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user