summaryrefslogtreecommitdiff
path: root/js/view
diff options
context:
space:
mode:
Diffstat (limited to 'js/view')
-rw-r--r--js/view/layout.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/js/view/layout.js b/js/view/layout.js
index aa7834b..c733a8f 100644
--- a/js/view/layout.js
+++ b/js/view/layout.js
@@ -52,7 +52,12 @@ guix.withLayout = (function() {
}, m(".container", [
m(".navbar-header", m("img.logo", { src: "/images/logo.png" })),
m("ul.nav.navbar-nav", [
- m("li.active", m("a", "Packages")),
+ m("li.active", m("a", {
+ href: "#",
+ onclick: function() {
+ m.route("/");
+ }
+ }, "Packages")),
]),
m("ul.nav.navbar-nav.navbar-right")
])),