aboutsummaryrefslogtreecommitdiffstats
path: root/root/animations
diff options
context:
space:
mode:
Diffstat (limited to 'root/animations')
-rw-r--r--root/animations/init.moon6
1 files changed, 2 insertions, 4 deletions
diff --git a/root/animations/init.moon b/root/animations/init.moon
index cb1f20a..ba8cb91 100644
--- a/root/animations/init.moon
+++ b/root/animations/init.moon
@@ -14,11 +14,9 @@ Fileder {
li {
a name, {
href: child.path,
- onclick: (_, e, ...) ->
- print 'ASD', e, ...
- window\alert 'YO WADDAFUQ'
+ onclick: (e) =>
e\preventDefault!
- BROWSER\navigate "animations | #{name}",
+ BROWSER\navigate child.path
},
': ', desc
}