Commit b36d8ba8b0e19b8373a93a36836861968874bc2d
- Diff rendering mode:
- inline
- side by side
js/mouchak.js
(1 / 1)
  | |||
291 | 291 | }, | |
292 | 292 | createNavigation: function(page) { | |
293 | 293 | var li; | |
294 | if(page === 'index') { | ||
294 | if(page === 'index' && !_.isEmpty(M.pages.get(page).get('children'))) { | ||
295 | 295 | li = '<li class="active"><a href="#/index"> Home </a></li>'; | |
296 | 296 | $('#nav-index .nav').append(li); | |
297 | 297 | } |