Try fix hover fallback not working on 2015-2017 browsers

This commit is contained in:
Pk11 2022-05-12 19:53:57 -05:00
parent 6f03dfc24f
commit efbc67a4c2

View File

@ -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
Array.from(document.getElementsByClassName("hover-content")).forEach(r => {
r.classList.remove("hover-content");