diff --git a/404.html b/404.html
index cd752bd..0451a30 100644
--- a/404.html
+++ b/404.html
@@ -39,14 +39,14 @@
+
+
+
+
Home
+
+
+
+
+
+
+
+
+
+ ›
404.html
+
+
+
@@ -114,6 +131,14 @@
var sidenavElems = document.querySelectorAll('.sidenav');
var sidenavInstances = M.Sidenav.init(sidenavElems, {});
});
+
+ document.querySelectorAll("button").forEach(button => {
+ const href = button.getAttribute("data-href");
+ if (!href) return;
+ button.addEventListener("click", () => {
+ window.location.href = button.getAttribute("data-href");
+ });
+ });