Showing the changes to assets/javascripts (2 of 4 files). Show all
Unified · Split
| @@ -71,6 +71,7 @@ app.templates.intro = """ · 70 unmodified lines | ||
| 71 | 71 | |
| 72 | 72 | app.templates.mobileNav = """ |
| 73 | 73 | <nav class="_mobile-nav"> |
| 74 | + <a href="/offline" class="_mobile-nav-link">Offline</a> | |
| 74 | 75 | <a href="/about" class="_mobile-nav-link">About</a> |
| 75 | 76 | <a href="/news" class="_mobile-nav-link">News</a> |
| 76 | 77 | <a href="/help" class="_mobile-nav-link">Help</a> |
| @@ -18,7 +18,7 @@ class app.views.Nav extends app.View · 17 unmodified lines | ||
| 18 | 18 | return |
| 19 | 19 | |
| 20 | 20 | afterRoute: (route, context) => |
| 21 | − if route is 'page' | |
| 21 | + if route in ['page', 'offline'] | |
| 22 | 22 | @select context.pathname |
| 23 | 23 | else |
| 24 | 24 | @deselect() |