fix bad account on english links

This commit is contained in:
fram3d committed 2026-11-09 22:31:39 +01:00
1 parent 752c93f853
commit f95bbd7ac8
1 file changed
+1 -1
+1 -1
View File
@@ -78,7 +78,7 @@ window.addEventListener("DOMContentLoaded", () => {
} else if (currentLang !== "sr") {
// Only prepend language prefix for non-default languages
a.setAttribute("href", `/${currentLang}${href}`);
}
} else { }
}
});
hamburger?.addEventListener("click", () => isMenuOpen() ? closeMenu() : openMenu());