Commit ec2b20b4a1c49eecdf25dcc39f08bb53b729932c
- Diff rendering mode:
- inline
- side by side
mouchak/static/js/mouchak.js
(2 / 2)
  | |||
174 | 174 | var app_router = new AppRouter(); | |
175 | 175 | Backbone.history.start(); | |
176 | 176 | ||
177 | if(!location.hash) { | ||
178 | var startpage = M.pages.models[0].get('name'); | ||
177 | if(!window.location.hash) { | ||
178 | var startpage = M.pages.site_content.menu.menuOrder[0]; | ||
179 | 179 | app_router.navigate(startpage, {trigger: true}); | |
180 | 180 | } | |
181 | 181 |