mirror of
https://github.com/rvtr/wiki.git
synced 2025-10-31 06:31:13 -04:00
Try fix hover fallback not working on 2015-2017 browsers
This commit is contained in:
parent
6f03dfc24f
commit
efbc67a4c2
@ -1,3 +1,5 @@
|
|||||||
|
{...{}}; // Syntax error in anything before ECMAScript 9, we don't want to run this code on old browsers
|
||||||
|
|
||||||
// Make navbar not open on hover
|
// Make navbar not open on hover
|
||||||
Array.from(document.getElementsByClassName("hover-content")).forEach(r => {
|
Array.from(document.getElementsByClassName("hover-content")).forEach(r => {
|
||||||
r.classList.remove("hover-content");
|
r.classList.remove("hover-content");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user